You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I ran into an unexpected fatal error when compiling a mesh shader with debug symbols. Compilation passes successfully without debug symbols enabled (i.e. without the -fspv-debug=vulkan-with-source flag).
uname -a: Linux guybrush 6.11.10-2-MANJARO #1 SMP PREEMPT_DYNAMIC Mon, 25 Nov 2024 05:29:44 +0000 x86_64 GNU/Linux
I'm aware that resources are limited and debug-related issues are not a priority. If you can provide me with some pointers on where to start, I might have a look if I can figure out some more details. Thank you!
The text was updated successfully, but these errors were encountered:
Description
I ran into an unexpected fatal error when compiling a mesh shader with debug symbols. Compilation passes successfully without debug symbols enabled (i.e. without the
-fspv-debug=vulkan-with-source
flag).Steps to Reproduce
Repro on godbolt: https://godbolt.org/z/oh8fjYcb8
Given this shader code:
Run DXC with the following command:
Actual Behavior
Output:
fatal error: generated SPIR-V is invalid: ID '356[%356]' has not been defined %355 = OpExtInst %void %1 DebugValue %71 %356 %75 %int_0
Expected: no error, debug information embedded in SPIR-V output.
Environment
libdxcompiler.so: 1.8(dev;4662-416fab6b); libdxil.so: 1.8
libdxcompiler.so: 1.8(dev;4773-eb1223e0); libdxil.so: 1.8
Linux guybrush 6.11.10-2-MANJARO #1 SMP PREEMPT_DYNAMIC Mon, 25 Nov 2024 05:29:44 +0000 x86_64 GNU/Linux
I'm aware that resources are limited and debug-related issues are not a priority. If you can provide me with some pointers on where to start, I might have a look if I can figure out some more details. Thank you!
The text was updated successfully, but these errors were encountered: