summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/get-texture-resource-handle-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/get-texture-resource-handle-test.cpp')
-rw-r--r--tools/gfx-unit-test/get-texture-resource-handle-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/get-texture-resource-handle-test.cpp b/tools/gfx-unit-test/get-texture-resource-handle-test.cpp
index 4677bd97b..537585f2a 100644
--- a/tools/gfx-unit-test/get-texture-resource-handle-test.cpp
+++ b/tools/gfx-unit-test/get-texture-resource-handle-test.cpp
@@ -22,7 +22,7 @@ namespace gfx_test
desc.size.height = 1;
desc.size.depth = 1;
desc.defaultState = ResourceState::UnorderedAccess;
- desc.format = Format::RGBA_Float16;
+ desc.format = Format::R16G16B16A16_FLOAT;
Slang::ComPtr<ITextureResource> buffer;
buffer = device->createTextureResource(desc);