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-Val][OpenCL] Incorrect check on using OpTypePointer. #229

Closed
bader opened this issue Jun 9, 2016 · 0 comments
Closed

[SPIRV-Val][OpenCL] Incorrect check on using OpTypePointer. #229

bader opened this issue Jun 9, 2016 · 0 comments
Assignees

Comments

@bader
Copy link

bader commented Jun 9, 2016

I got following error for the attached SPIR-V file:

error: 350: OpReturnValue value's type <id> '10' is a pointer, but a pointer can only be an operand to OpLoad, OpStore, OpAccessChain, or OpInBoundsAccessChain.

The list of the instructions accepting pointer operands is too short. There are a lot more instructions (especially with Kernel capability) that have pointer operands.

@dneto0 dneto0 self-assigned this Jun 13, 2016
dneto0 added a commit to dneto0/SPIRV-Tools that referenced this issue Jun 13, 2016
dneto0 added a commit to dneto0/SPIRV-Tools that referenced this issue Jun 14, 2016
rjodinchr pushed a commit to rjodinchr/SPIRV-Tools that referenced this issue Jun 22, 2022
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