-
Notifications
You must be signed in to change notification settings - Fork 822
Open
Labels
Description
Description
I'm trying to use the NonSemantic.DebugBreak instruction (specified here: https://github.khronos.org/SPIRV-Registry/nonsemantic/NonSemantic.DebugBreak.html) using DXC. Unfortunately DXC fails with an error.
Steps to Reproduce
Simple Shader reproducing the issue: https://godbolt.org/z/6dW8eK79a
--->
Actual Behavior
dxc outputs the following error:
fatal error: failed to optimize SPIR-V: Id 1 is defined more than once
note: please file a bug report on https://github.com/Microsoft/DirectXShaderCompiler/issues with source code if possible
Compiler returned: 5
Environment
- DXC version libdxcompiler.so: 1.9(dev;1-9efbb6c3); libdxil.so: 1.9
- Host Operating System Windows 11
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
For Google