summaryrefslogtreecommitdiffstats
path: root/tests/bindings
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2023-07-15 01:40:11 -0400
committerGitHub <noreply@github.com>2023-07-14 22:40:11 -0700
commit138a44ef272841cb555fa0eb5c49cc889bf1d64a (patch)
treee54f195a49a748c378210e635578b29b04e8e176 /tests/bindings
parent3e4fe2f6f2a40bfabc34ca5a97f8c04f631c4d23 (diff)
Fix vk-shift-* mapping issue (#2993)
* Fix vk-shift-* mappings. * Add some doc info about vk-shift. * Fix diagnostic test.
Diffstat (limited to 'tests/bindings')
-rw-r--r--tests/bindings/hlsl-to-vulkan-shift.hlsl2
-rw-r--r--tests/bindings/hlsl-to-vulkan-shift.hlsl.expected8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/bindings/hlsl-to-vulkan-shift.hlsl b/tests/bindings/hlsl-to-vulkan-shift.hlsl
index 8981b6be6..13f76297d 100644
--- a/tests/bindings/hlsl-to-vulkan-shift.hlsl
+++ b/tests/bindings/hlsl-to-vulkan-shift.hlsl
@@ -1,4 +1,4 @@
-//TEST:REFLECTION:-target glsl -profile ps_4_0 -entry main -fvk-t-shift 5 all -fvk-t-shift 7 2 -fvk-s-shift -3 0 -fvk-b-shift 1 2
+//TEST:REFLECTION:-target glsl -profile ps_4_0 -entry main -fvk-t-shift 5 all -fvk-t-shift 7 2 -fvk-s-shift -3 0 -fvk-u-shift 0 all -fvk-u-shift 1 2 -fvk-b-shift 1 0
struct Data
{
diff --git a/tests/bindings/hlsl-to-vulkan-shift.hlsl.expected b/tests/bindings/hlsl-to-vulkan-shift.hlsl.expected
index b0d8ace6f..939f847ca 100644
--- a/tests/bindings/hlsl-to-vulkan-shift.hlsl.expected
+++ b/tests/bindings/hlsl-to-vulkan-shift.hlsl.expected
@@ -21,7 +21,7 @@ standard output = {
},
{
"name": "c",
- "binding": {"kind": "descriptorTableSlot", "index": 0},
+ "binding": {"kind": "descriptorTableSlot", "index": 3},
"type": {
"kind": "constantBuffer",
"elementType": {
@@ -86,7 +86,7 @@ standard output = {
},
{
"name": "u",
- "binding": {"kind": "descriptorTableSlot", "index": 2},
+ "binding": {"kind": "descriptorTableSlot", "index": 11},
"type": {
"kind": "resource",
"baseShape": "structuredBuffer",
@@ -157,7 +157,7 @@ standard output = {
},
{
"name": "c",
- "binding": {"kind": "descriptorTableSlot", "index": 0}
+ "binding": {"kind": "descriptorTableSlot", "index": 3}
},
{
"name": "t2",
@@ -165,7 +165,7 @@ standard output = {
},
{
"name": "u",
- "binding": {"kind": "descriptorTableSlot", "index": 2}
+ "binding": {"kind": "descriptorTableSlot", "index": 11}
},
{
"name": "u2",