diff options
Diffstat (limited to 'tools/gfx-unit-test/create-buffer-from-handle.cpp')
| -rw-r--r-- | tools/gfx-unit-test/create-buffer-from-handle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/create-buffer-from-handle.cpp b/tools/gfx-unit-test/create-buffer-from-handle.cpp index f7e9356bc..22612dbf0 100644 --- a/tools/gfx-unit-test/create-buffer-from-handle.cpp +++ b/tools/gfx-unit-test/create-buffer-from-handle.cpp @@ -39,7 +39,7 @@ namespace gfx_test ResourceState::CopyDestination, ResourceState::CopySource); bufferDesc.defaultState = ResourceState::UnorderedAccess; - bufferDesc.cpuAccessFlags = MemoryType::GpuOnly; + bufferDesc.memoryType = MemoryType::DeviceLocal; ComPtr<IBufferResource> originalNumbersBuffer; GFX_CHECK_CALL_ABORT(device->createBufferResource( |
