summaryrefslogtreecommitdiffstats
path: root/tools/gfx/render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/render.cpp')
-rw-r--r--tools/gfx/render.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp
index 11aacc741..aad544eb4 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -135,6 +135,8 @@ struct FormatInfoMap
set(Format::D32_FLOAT, SLANG_SCALAR_TYPE_FLOAT32, 1);
set(Format::D16_UNORM, SLANG_SCALAR_TYPE_FLOAT32, 1);
+ set(Format::D32_FLOAT_S8_UINT, SLANG_SCALAR_TYPE_FLOAT32, 2);
+ set(Format::R32_FLOAT_X32_TYPELESS, SLANG_SCALAR_TYPE_FLOAT32, 2);
set(Format::B4G4R4A4_UNORM, SLANG_SCALAR_TYPE_FLOAT32, 4);
set(Format::B5G6R5_UNORM, SLANG_SCALAR_TYPE_FLOAT32, 3);