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 --- tools/render-test/shader-input-layout.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/render-test/shader-input-layout.h') diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h index c7a8a6918..e0a2be886 100644 --- a/tools/render-test/shader-input-layout.h +++ b/tools/render-test/shader-input-layout.h @@ -55,7 +55,7 @@ struct InputTextureDesc int mipMapCount = 0; ///< 0 means the maximum number of mips will be bound InputTextureSampleCount sampleCount = InputTextureSampleCount::One; - Format format = Format::R8G8B8A8_UNORM; + Format format = Format::RGBA8Unorm; InputTextureContent content = InputTextureContent::One; }; @@ -72,7 +72,7 @@ struct InputBufferDesc InputBufferType type = InputBufferType::StorageBuffer; int stride = 0; // stride == 0 indicates an unstructured buffer. int elementCount = 1; - Format format = Format::Unknown; + Format format = Format::Undefined; // For RWStructuredBuffer, AppendStructuredBuffer, ConsumeStructuredBuffer // the default value of 0xffffffff indicates that a counter buffer should // not be assigned @@ -149,7 +149,7 @@ struct TextureData m_slices.clear(); } - rhi::Format m_format = rhi::Format::Unknown; + rhi::Format m_format = rhi::Format::Undefined; uint8_t m_formatSize = 0; Slang::List m_slices; -- cgit v1.2.3