Description
Using:
static ResourceType some_var_name = ResourceDescriptorHeap[...];
In a lib_6_6 target (closest hit shader) results in a compiler crash.
Note: it appears to be fixed in the trunk version of the compiler.
Steps to Reproduce
Compiler explorer
-spirv -T lib_6_6 -E closest_hit_main
Actual Behavior
Program terminated with signal: SIGSEGV
Compiler returned: 139
Environment
Description
Using:
static ResourceType some_var_name = ResourceDescriptorHeap[...];
In a lib_6_6 target (closest hit shader) results in a compiler crash.
Note: it appears to be fixed in the trunk version of the compiler.
Steps to Reproduce
Compiler explorer
-spirv -T lib_6_6 -E closest_hit_mainActual Behavior
Environment