summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/buffer-swizzle-store.slang2
-rw-r--r--tests/bugs/gh-4411.slang6
-rw-r--r--tests/bugs/texture2d-gather.hlsl2
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/bugs/buffer-swizzle-store.slang b/tests/bugs/buffer-swizzle-store.slang
index 33e8a8ab9..8b34c8225 100644
--- a/tests/bugs/buffer-swizzle-store.slang
+++ b/tests/bugs/buffer-swizzle-store.slang
@@ -4,7 +4,7 @@
// Not supported in WGSL: read-write storage texture with "rg16f" format
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu
-//TEST_INPUT: RWTexture2D(format=R16G16_FLOAT, size=4, content = one, mipMaps = 1):name g_test
+//TEST_INPUT: RWTexture2D(format=RG16Float, size=4, content = one, mipMaps = 1):name g_test
[format("rg16f")]
RWTexture2D<float2> g_test;
diff --git a/tests/bugs/gh-4411.slang b/tests/bugs/gh-4411.slang
index 06adff0b3..e3f712475 100644
--- a/tests/bugs/gh-4411.slang
+++ b/tests/bugs/gh-4411.slang
@@ -1,10 +1,10 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-vk -compute -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-slang -compute -dx12 -use-dxil -shaderobj
-//TEST_INPUT:RWTexture1D(format=R32_UINT, size=8, content = zero, mipMaps = 1):name=texture1D
+//TEST_INPUT:RWTexture1D(format=R32Uint, size=8, content = zero, mipMaps = 1):name=texture1D
RWTexture1D<uint> texture1D;
-//TEST_INPUT:RWTexture2D(format=R32_UINT, size=8, content = zero, mipMaps = 1):name=texture2D
+//TEST_INPUT:RWTexture2D(format=R32Uint, size=8, content = zero, mipMaps = 1):name=texture2D
RWTexture2D<uint> texture2D;
//TEST_INPUT:ubuffer(data=[0]):out,name=outputBuffer
@@ -19,4 +19,4 @@ void computeMain() {
&& texture2D[uint2(2, 3)].x == 16
);
//BUF: 1
-} \ No newline at end of file
+}
diff --git a/tests/bugs/texture2d-gather.hlsl b/tests/bugs/texture2d-gather.hlsl
index 46f921b26..3eecca8f8 100644
--- a/tests/bugs/texture2d-gather.hlsl
+++ b/tests/bugs/texture2d-gather.hlsl
@@ -1,6 +1,6 @@
//TEST(smoke):COMPARE_HLSL_RENDER:
//DISABLE_TEST(smoke):COMPARE_HLSL_RENDER:-mtl
-//TEST_INPUT: Texture2D(size=16, content=chessboard, format=R32_FLOAT):name g_texture
+//TEST_INPUT: Texture2D(size=16, content=chessboard, format=R32Float):name g_texture
//TEST_INPUT: Sampler :name g_sampler
Texture2D<float> g_texture;