summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bindings/glsl-parameter-blocks.slang.glsl6
-rw-r--r--tests/reflection/binding-gl.hlsl.expected7
-rw-r--r--tests/reflection/binding-push-constant-gl.hlsl.expected7
-rw-r--r--tests/reflection/cross-compile.slang.expected7
-rw-r--r--tests/reflection/parameter-block.slang.expected7
5 files changed, 3 insertions, 31 deletions
diff --git a/tests/bindings/glsl-parameter-blocks.slang.glsl b/tests/bindings/glsl-parameter-blocks.slang.glsl
index 01f49279a..3ade8bb6b 100644
--- a/tests/bindings/glsl-parameter-blocks.slang.glsl
+++ b/tests/bindings/glsl-parameter-blocks.slang.glsl
@@ -22,16 +22,16 @@ struct Test
vec4 a;
};
-layout(binding = 0, set = 1)
+layout(binding = 0)
uniform ParameterBlock_gTest
{
Test gTest;
};
-layout(binding = 1, set = 1)
+layout(binding = 1)
uniform texture2D gTest_t;
-layout(binding = 2, set = 1)
+layout(binding = 2)
uniform sampler gTest_s;
layout(location = 0)
diff --git a/tests/reflection/binding-gl.hlsl.expected b/tests/reflection/binding-gl.hlsl.expected
index 5ace782cc..1b5e7354f 100644
--- a/tests/reflection/binding-gl.hlsl.expected
+++ b/tests/reflection/binding-gl.hlsl.expected
@@ -93,13 +93,6 @@ standard output = {
"type": {
"kind": "samplerState"
}
- },
- {
- "name": "SLANG_hack_samplerForTexelFetch",
- "binding": {"kind": "descriptorTableSlot", "index": 4},
- "type": {
- "kind": "samplerState"
- }
}
],
"entryPoints": [
diff --git a/tests/reflection/binding-push-constant-gl.hlsl.expected b/tests/reflection/binding-push-constant-gl.hlsl.expected
index 6dd9d0fdd..ed6983364 100644
--- a/tests/reflection/binding-push-constant-gl.hlsl.expected
+++ b/tests/reflection/binding-push-constant-gl.hlsl.expected
@@ -122,13 +122,6 @@ standard output = {
"type": {
"kind": "samplerState"
}
- },
- {
- "name": "SLANG_hack_samplerForTexelFetch",
- "binding": {"kind": "descriptorTableSlot", "index": 4},
- "type": {
- "kind": "samplerState"
- }
}
],
"entryPoints": [
diff --git a/tests/reflection/cross-compile.slang.expected b/tests/reflection/cross-compile.slang.expected
index 3a8bea41e..3bb730f66 100644
--- a/tests/reflection/cross-compile.slang.expected
+++ b/tests/reflection/cross-compile.slang.expected
@@ -42,13 +42,6 @@ standard output = {
]
}
}
- },
- {
- "name": "SLANG_hack_samplerForTexelFetch",
- "binding": {"kind": "descriptorTableSlot", "index": 3},
- "type": {
- "kind": "samplerState"
- }
}
]
}
diff --git a/tests/reflection/parameter-block.slang.expected b/tests/reflection/parameter-block.slang.expected
index bc04d79ed..6821c46ca 100644
--- a/tests/reflection/parameter-block.slang.expected
+++ b/tests/reflection/parameter-block.slang.expected
@@ -39,13 +39,6 @@ standard output = {
"kind": "resource",
"baseShape": "texture2D"
}
- },
- {
- "name": "SLANG_hack_samplerForTexelFetch",
- "binding": {"kind": "descriptorTableSlot", "index": 1},
- "type": {
- "kind": "samplerState"
- }
}
]
}