summaryrefslogtreecommitdiffstats
path: root/tests/spirv/debug-type-pointer.slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-10-24 21:31:34 -0700
committerGitHub <noreply@github.com>2024-10-24 21:31:34 -0700
commita2a201e327559e6a24b081fee73096b2a3b3e33f (patch)
treeb0b5ca96db7e95d364779cc4ca84936a02962534 /tests/spirv/debug-type-pointer.slang
parent46b8ab8353966f2590ed2667028b220b57f963ae (diff)
Use DebugDeclare instead of DebugValue. (#5404)
* Use DebugDeclare instead of DebugValue. * Avoid generating illegal SPIRV. * Improve DebugLine output. * Fix. * Fix. * Misc improvements.
Diffstat (limited to 'tests/spirv/debug-type-pointer.slang')
-rw-r--r--tests/spirv/debug-type-pointer.slang1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/spirv/debug-type-pointer.slang b/tests/spirv/debug-type-pointer.slang
index f6add1735..62bd4fda1 100644
--- a/tests/spirv/debug-type-pointer.slang
+++ b/tests/spirv/debug-type-pointer.slang
@@ -32,7 +32,6 @@ struct LinkedNode
float test(LinkedNode *pNode)
{
- //SPV: DebugValue %pNodeNext
LinkedNode *pNodeNext = pNode->pNext;
return *(pNode->pValue) + pNodeNext->value;
}