diff options
| author | Simon Kallweit <64953474+skallweitNV@users.noreply.github.com> | 2025-04-24 10:23:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-24 08:23:06 +0000 |
| commit | ae1a5e40880808252c68eb51e44051b32a34d399 (patch) | |
| tree | 5084b274b2929658bab9bfdf2b96e22c5b440a83 /tools/render-test/shader-input-layout.h | |
| parent | b78a8ba006fc9253cd1fd88fb7dd1eacfa749dfa (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 'tools/render-test/shader-input-layout.h')
| -rw-r--r-- | tools/render-test/shader-input-layout.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<Slice> m_slices; |
