From ae1a5e40880808252c68eb51e44051b32a34d399 Mon Sep 17 00:00:00 2001 From: Simon Kallweit <64953474+skallweitNV@users.noreply.github.com> Date: Thu, 24 Apr 2025 10:23:06 +0200 Subject: 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 --- tests/spirv/atomic-image-access.slang | 2 +- tests/spirv/small-int-texture.slang | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/spirv') 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 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 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 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 +} -- cgit v1.2.3