summaryrefslogtreecommitdiff
path: root/tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected
diff options
context:
space:
mode:
authorcheneym2 <acheney@nvidia.com>2025-01-29 14:59:42 -0500
committerGitHub <noreply@github.com>2025-01-29 11:59:42 -0800
commit2ba6458eba8bd2d4f4d2ffdd452ae089e5b50907 (patch)
treedf185018f91073eff6066b2e1569557c6d2df1a0 /tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected
parent605204374658fc6d7f647f9a57e9e322b8c83100 (diff)
Fix combined sampler documentation and warning (#6207)
* Fix combined sampler documentation and warning * Update comment, show detailed '-fvk-t-shift' message in warning instead of generic '-fvk-xxx-shift' * format code --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected')
-rw-r--r--tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected b/tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected
index 907572f9e..1f1e1a5a6 100644
--- a/tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected
+++ b/tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected
@@ -1,9 +1,9 @@
result code = -1
standard error = {
-tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl(11): warning 39013: shader parameter 'c' has a 'register' specified for D3D, but no '[[vk::binding(...)]]` specified for Vulkan
+tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl(11): warning 39029: shader parameter 'c' has a 'register' specified for D3D, but no '[[vk::binding(...)]]` specified for Vulkan, nor is `-fvk-b-shift` used.
ConstantBuffer<Data> c : register(b2);
^~~~~~~~
-tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl(15): warning 39013: shader parameter 'u' has a 'register' specified for D3D, but no '[[vk::binding(...)]]` specified for Vulkan
+tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl(15): warning 39029: shader parameter 'u' has a 'register' specified for D3D, but no '[[vk::binding(...)]]` specified for Vulkan, nor is `-fvk-u-shift` used.
RWStructuredBuffer<Data> u : register(u11);
^~~~~~~~
tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl(15): error 39025: conflicting vulkan inferred binding for parameter 'c' overlap is 0 and 0