From ad9abad220df96d2155f6825f158b7f6327b7ea8 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 10 Jan 2022 13:30:41 -0800 Subject: Various fixes to gfx. (#2074) * Various gfx fixes. * Fixup. Co-authored-by: Yong He --- tools/gfx-unit-test/shared-textures-tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gfx-unit-test/shared-textures-tests.cpp') diff --git a/tools/gfx-unit-test/shared-textures-tests.cpp b/tools/gfx-unit-test/shared-textures-tests.cpp index b2944b6e7..b83f58a78 100644 --- a/tools/gfx-unit-test/shared-textures-tests.cpp +++ b/tools/gfx-unit-test/shared-textures-tests.cpp @@ -114,7 +114,7 @@ namespace gfx_test ResourceState::CopyDestination, ResourceState::CopySource); bufferDesc.defaultState = ResourceState::UnorderedAccess; - bufferDesc.cpuAccessFlags = MemoryType::GpuOnly; + bufferDesc.memoryType = MemoryType::DeviceLocal; ComPtr outBuffer; GFX_CHECK_CALL_ABORT(device->createBufferResource( -- cgit v1.2.3