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

Optimization for vulkan1.2 emits a confusing message.. #2

Open
rcoreilly opened this issue Feb 2, 2023 · 0 comments
Open

Optimization for vulkan1.2 emits a confusing message.. #2

rcoreilly opened this issue Feb 2, 2023 · 0 comments

Comments

@rcoreilly
Copy link
Member

Finally got around to looking at args to glslc and realized we weren't optimizing! Now passing the -O flag.

Now that we are optimizing, if you set the --target-env=vulkan1.2 which is appropriate, it gives a confusing error in the axon test case:

shaderc: internal error: compilation succeeded but failed to optimize: 2nd operand of Decorate: operand BufferBlock(3) requires SPIR-V version 1.3 or earlier
  OpDecorate %Neurons BufferBlock

so using 1.1 for now, but should try to figure this out. also going through the source code to fix the atomic add issue so may have some insight from there.

There is much I don't understand about these decorators and registers and whatnot. Need to read these at some point:

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

1 participant