summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test/format-unit-tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/format-unit-tests.cpp')
-rw-r--r--tools/gfx-unit-test/format-unit-tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/format-unit-tests.cpp b/tools/gfx-unit-test/format-unit-tests.cpp
index 2cba98178..55aa2768b 100644
--- a/tools/gfx-unit-test/format-unit-tests.cpp
+++ b/tools/gfx-unit-test/format-unit-tests.cpp
@@ -137,7 +137,7 @@ namespace gfx_test
ResourceState::CopyDestination,
ResourceState::CopySource);
bufferDesc.defaultState = ResourceState::UnorderedAccess;
- bufferDesc.cpuAccessFlags = MemoryType::GpuOnly;
+ bufferDesc.memoryType = MemoryType::DeviceLocal;
ComPtr<IBufferResource> outBuffer;
GFX_CHECK_CALL_ABORT(device->createBufferResource(