Compiling shaders with debug info on spirv_1_0 profile produces validation error #5640
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
Milestone
Other than that, the shader does work perfectly, even though spirv_1_0 through slang's direct SPIRV output is not officially supported at the moment.
Passing
-g0
fixes the problem. Perhaps there should be a dedicated warning/note thatKHR_shader_non_semantic_info
is required vulkan-side when compiling with debug info? I'm attempting to use Slang with SDL_gpu, which always uses Vulkan 1.0 and does not define that extension.The text was updated successfully, but these errors were encountered: