diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-09-02 12:51:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-02 12:51:12 -0700 |
| commit | 21693abbd0579107e3c03d1e5090b2653722b5de (patch) | |
| tree | d533198d4ae4096543e31f39b8f2765d4b431522 /tests/spirv/debug-value-dynamic-index.slang | |
| parent | b46f46c5e8603fdafca258028227adf25f95807f (diff) | |
Emit DebugInfo for the legalized entry point parameters (#7703)
This commit is to emit the debug-info for the entry point parameters.
Two things are implemented/fixed in this PR:
- We were not emitting the `DebugVar` and `DebugValue` at the IR
lowering level when the type of the entry point parameter is `ConstRef`.
This commit handles the `ConstRef` case in a same way that the other
types are handled so that `DebugVar` and `DebugValues` are properly
emitted at the IR lowering level.
- Two types for Geometry shaders were incorrectly treated as not valid
types for the DebugInfo. They are `InputPatch` and `OutputPatch`. This
commit handles them as valid types for DebugInfo.
Diffstat (limited to 'tests/spirv/debug-value-dynamic-index.slang')
| -rw-r--r-- | tests/spirv/debug-value-dynamic-index.slang | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/spirv/debug-value-dynamic-index.slang b/tests/spirv/debug-value-dynamic-index.slang index 8b4f6b43e..0d25ef545 100644 --- a/tests/spirv/debug-value-dynamic-index.slang +++ b/tests/spirv/debug-value-dynamic-index.slang @@ -1,5 +1,4 @@ -// This will be re-enabled when github #7693 is resolved -//DISABLE_TEST:SIMPLE(filecheck=CHECK):-target spirv -entry main -stage compute -g2 -emit-spirv-directly +//TEST:SIMPLE(filecheck=CHECK):-target spirv -entry main -stage compute -g2 -emit-spirv-directly struct TestType { |
