From 6ba3d2f9d448cbcefbc6cd51662082518d2ab777 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Mon, 19 Jul 2021 21:12:56 +0200 Subject: [PATCH] [d3d9] Set correct usage flags for large temporary staging buffers --- src/d3d9/d3d9_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 12c4bdb68..02613a1ab 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -3919,7 +3919,7 @@ namespace dxvk { | VK_ACCESS_INDEX_READ_BIT; info.stages = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT; } else { - info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; + info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT; info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT; info.access = VK_ACCESS_TRANSFER_READ_BIT; }