From 7c0ee272c33376c6030c3673cbccabf1baca5a44 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 24 Jun 2021 02:59:56 +0200 Subject: [PATCH] [d3d11] Add texel buffer usage to staging buffer Needed for staging image updates. --- src/d3d11/d3d11_context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_context.cpp b/src/d3d11/d3d11_context.cpp index 236c411f..165bbae1 100644 --- a/src/d3d11/d3d11_context.cpp +++ b/src/d3d11/d3d11_context.cpp @@ -4321,7 +4321,8 @@ namespace dxvk { DxvkBufferCreateInfo info; info.size = Size; info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT - | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; + | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT + | VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT; info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT | VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT | VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT;