summaryrefslogtreecommitdiff
path: root/tests/diagnostics/gh-38-vs.hlsl.expected
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-07-07 03:52:00 +0800
committerGitHub <noreply@github.com>2023-07-06 15:52:00 -0400
commitcdfea42f1b28c6ec7b13500a64be823f67bf8e0a (patch)
tree4444c21ac369ce8f4c99370fcd47153eeb35581f /tests/diagnostics/gh-38-vs.hlsl.expected
parent4a88139a86596fd1a546af84ab3210ea3013c58d (diff)
Fix erroneous error claiming variable is being used before its declaration (#2958)
* Simplify type of diagnoseImpl * Show source line for Note diagnostics, opting out of this where appropriate * Make declared after use diagnostic clearer * Fix erroneous error claiming variable is being used before its declaration Closes https://github.com/shader-slang/slang/issues/2936 * Fix build on msvc --------- Co-authored-by: jsmall-nvidia <jsmall@nvidia.com>
Diffstat (limited to 'tests/diagnostics/gh-38-vs.hlsl.expected')
-rw-r--r--tests/diagnostics/gh-38-vs.hlsl.expected2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/diagnostics/gh-38-vs.hlsl.expected b/tests/diagnostics/gh-38-vs.hlsl.expected
index bc33e43aa..30d9516d5 100644
--- a/tests/diagnostics/gh-38-vs.hlsl.expected
+++ b/tests/diagnostics/gh-38-vs.hlsl.expected
@@ -4,6 +4,8 @@ tests/diagnostics/gh-38-fs.hlsl(5): warning 39001: explicit binding for paramete
Texture2D overlappingB : register(t0);
^~~~~~~~~~~~
tests/diagnostics/gh-38-vs.hlsl(5): note: see declaration of 'overlappingA'
+Texture2D overlappingA : register(t0);
+ ^~~~~~~~~~~~
}
standard output = {
}