From a2a201e327559e6a24b081fee73096b2a3b3e33f Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 24 Oct 2024 21:31:34 -0700 Subject: Use DebugDeclare instead of DebugValue. (#5404) * Use DebugDeclare instead of DebugValue. * Avoid generating illegal SPIRV. * Improve DebugLine output. * Fix. * Fix. * Misc improvements. --- tests/spirv/debug-type-pointer-2.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/spirv/debug-type-pointer-2.slang') diff --git a/tests/spirv/debug-type-pointer-2.slang b/tests/spirv/debug-type-pointer-2.slang index 4112d4905..49ee9a48b 100644 --- a/tests/spirv/debug-type-pointer-2.slang +++ b/tests/spirv/debug-type-pointer-2.slang @@ -18,7 +18,7 @@ uniform Problem probs; RWStructuredBuffer outputBuffer; [shader("compute")] -float4 main() +void main() { outputBuffer[0] = float(probs.getVal()); } \ No newline at end of file -- cgit v1.2.3