summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/shared-buffers-tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/shared-buffers-tests.cpp')
-rw-r--r--tools/gfx-unit-test/shared-buffers-tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/shared-buffers-tests.cpp b/tools/gfx-unit-test/shared-buffers-tests.cpp
index fe7757083..fc9f88173 100644
--- a/tools/gfx-unit-test/shared-buffers-tests.cpp
+++ b/tools/gfx-unit-test/shared-buffers-tests.cpp
@@ -25,7 +25,7 @@ namespace gfx_test
ResourceState::CopyDestination,
ResourceState::CopySource);
bufferDesc.defaultState = ResourceState::UnorderedAccess;
- bufferDesc.cpuAccessFlags = AccessFlag::Write | AccessFlag::Read;
+ bufferDesc.cpuAccessFlags = MemoryType::GpuOnly;
bufferDesc.isShared = true;
ComPtr<IBufferResource> srcBuffer;