diff options
Diffstat (limited to 'tools/render-test/shader-renderer-util.cpp')
| -rw-r--r-- | tools/render-test/shader-renderer-util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/render-test/shader-renderer-util.cpp b/tools/render-test/shader-renderer-util.cpp index e12a538b3..bbc000594 100644 --- a/tools/render-test/shader-renderer-util.cpp +++ b/tools/render-test/shader-renderer-util.cpp @@ -29,8 +29,8 @@ using Slang::Result; { ITextureResource::Desc textureResourceDesc = {}; - // Default to RGBA_Unorm_UInt8 - const Format format = (inputDesc.format == Format::Unknown) ? Format::RGBA_Unorm_UInt8 : inputDesc.format; + // Default to R8G8B8A8_UNORM + const Format format = (inputDesc.format == Format::Unknown) ? Format::R8G8B8A8_UNORM : inputDesc.format; textureResourceDesc.format = format; textureResourceDesc.numMipLevels = texData.m_mipLevels; |
