summaryrefslogtreecommitdiffstats
path: root/tests/spirv
diff options
context:
space:
mode:
authorSimon Kallweit <64953474+skallweitNV@users.noreply.github.com>2025-04-24 10:23:06 +0200
committerGitHub <noreply@github.com>2025-04-24 08:23:06 +0000
commitae1a5e40880808252c68eb51e44051b32a34d399 (patch)
tree5084b274b2929658bab9bfdf2b96e22c5b440a83 /tests/spirv
parentb78a8ba006fc9253cd1fd88fb7dd1eacfa749dfa (diff)
update slang-rhi (#6587)
* update slang-rhi submodule * slang-rhi API changes * disable agility sdk * fix texture creation * update formats in tests * Extent3D rename * use 1 mip level for 1D textures for Metal * fix texture upload * update to latest slang-rhi * update slang-rhi * format code * update slang-rhi * do not run texture-intrinsics test on metal * update slang-rhi * deal with failing tests * fix more tests * update slang-rhi --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> Co-authored-by: Simon Kallweit <simon.kallweit@gmail.com>
Diffstat (limited to 'tests/spirv')
-rw-r--r--tests/spirv/atomic-image-access.slang2
-rw-r--r--tests/spirv/small-int-texture.slang4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/spirv/atomic-image-access.slang b/tests/spirv/atomic-image-access.slang
index 1fc7cd28f..b4574ad61 100644
--- a/tests/spirv/atomic-image-access.slang
+++ b/tests/spirv/atomic-image-access.slang
@@ -9,7 +9,7 @@
//TEST_INPUT:set resultBuffer = out ubuffer(data=[0 0 0 0], stride=4)
RWStructuredBuffer<uint> resultBuffer;
-// TEST_INPUT: set tex = RWTexture2D(format=R32_UINT, size=4, content=zero, mipMaps = 1)
+// TEST_INPUT: set tex = RWTexture2D(format=R32Uint, size=4, content=zero, mipMaps = 1)
[vk::image_format("r32ui")]
RWTexture2D<uint> tex;
diff --git a/tests/spirv/small-int-texture.slang b/tests/spirv/small-int-texture.slang
index b20ae35fe..d242d390d 100644
--- a/tests/spirv/small-int-texture.slang
+++ b/tests/spirv/small-int-texture.slang
@@ -2,7 +2,7 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX(filecheck-buffer=CHECK):-vk -compute -output-using-type -emit-spirv-directly
-//TEST_INPUT: RWTexture2D(format=R8_UINT, size=4, content = one, mipMaps = 1):name g_Image
+//TEST_INPUT: RWTexture2D(format=R8Uint, size=4, content = one, mipMaps = 1):name g_Image
RWTexture2D<uint8_t> g_Image;
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
@@ -14,4 +14,4 @@ void computeMain(int id: SV_DispatchThreadID) {
AllMemoryBarrier();
// CHECK: 23
outputBuffer[0] = g_Image[id];
-} \ No newline at end of file
+}