Bug 105737

Summary: st_tests_common.cpp:140:42: error: no matching function for call to 'tgsi_get_opcode_info'
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium Keywords: regression
Version: git   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2018-03-26 00:05:49 UTC
CXX      st_tests_common.o
st_tests_common.cpp:140:42: error: no matching function for call to 'tgsi_get_opcode_info'
   const struct tgsi_opcode_info *info = tgsi_get_opcode_info(op);
                                         ^~~~~~~~~~~~~~~~~~~~
../../../../src/gallium/auxiliary/tgsi/tgsi_info.h:86:1: note: candidate function not viable: no known
      conversion from 'const unsigned int' to 'enum tgsi_opcode' for 1st argument
tgsi_get_opcode_info(enum tgsi_opcode opcode);
^
Comment 1 Gert Wollny 2018-03-26 08:36:31 UTC
Patch proposed: 
https://patchwork.freedesktop.org/series/40651/
Comment 2 Brian Paul 2018-03-26 15:11:14 UTC
Pushed as commit a21da49e5c55f8e61253503d865cef936125ea5f.

Thanks, Gert!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.