Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spirv-as reports whole program as the invalid opcode #152

Closed
dekimir opened this issue Mar 15, 2016 · 1 comment
Closed

spirv-as reports whole program as the invalid opcode #152

dekimir opened this issue Mar 15, 2016 · 1 comment
Assignees

Comments

@dekimir
Copy link

dekimir commented Mar 15, 2016

I assemble a simple program with an incorrect opcode at the end. spirv-as should report just that opcode as invalid, but instead it reports the whole program as the opcode name:

deki@deki-macbookpro>cat bug.spvasm 
OpCapability Shader
OpMemoryModel Logical GLSL450
OpXYZ
deki@deki-macbookpro>./spirv-as bug.spvasm 
error: 3: 1: Invalid Opcode name 'OpCapability Shader
OpMemoryModel Logical GLSL450
OpXYZ'
@antiagainst
Copy link
Contributor

Interesting. The symptom is the same as #126. But this time EOL is there...

@antiagainst antiagainst self-assigned this Mar 15, 2016
dekimir pushed a commit that referenced this issue Mar 15, 2016
rjodinchr pushed a commit to rjodinchr/SPIRV-Tools that referenced this issue Jun 22, 2022
…nctionPointers

Add SPV_INTEL_function_pointers preview extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants