-
Notifications
You must be signed in to change notification settings - Fork 246
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
Debug option -g
produce incorrect SpirV code
#6119
Comments
We will need a shader code to reproduce this issue since this isn't happening for every shader code. |
Here is the shader that is causing an issue: The compilation arguments are
|
I can confirm that this is a bug in SPIRV-Opt. If you compile with |
Bug filed for SPIRV-Tools: #5959 |
Thanks for the tip! I confirm that when using |
When using the debug
-g
option, the SpirV code won't pass validation.The error will look like:
The text was updated successfully, but these errors were encountered: