summaryrefslogtreecommitdiffstats
path: root/tests/type
diff options
context:
space:
mode:
Diffstat (limited to 'tests/type')
-rw-r--r--tests/type/texture-sampler/texture-sampler-2d.slang2
-rw-r--r--tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt9
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/type/texture-sampler/texture-sampler-2d.slang b/tests/type/texture-sampler/texture-sampler-2d.slang
index 974231b9b..146fd0fd8 100644
--- a/tests/type/texture-sampler/texture-sampler-2d.slang
+++ b/tests/type/texture-sampler/texture-sampler-2d.slang
@@ -1,4 +1,4 @@
-//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
+//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -output-using-type
//TEST_INPUT: TextureSampler2D(size=4, content=one):name t2D
Sampler2D<float> t2D;
diff --git a/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt b/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt
index cc5e55ab6..6c9927073 100644
--- a/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt
+++ b/tests/type/texture-sampler/texture-sampler-2d.slang.expected.txt
@@ -1,4 +1,5 @@
-3F800000
-3F800000
-3F800000
-3F800000
+type: float
+1.0
+1.0
+1.0
+1.0