From 854ae7b862c44ec62ef8d0a95353cb97294cc5d8 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 6 Dec 2020 00:35:29 +0100 Subject: [PATCH] [dxvk] Add transform feedback buffer usage to dummy buffer Silences some Vulkan validation errors. --- src/dxvk/dxvk_unbound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_unbound.cpp b/src/dxvk/dxvk_unbound.cpp index 95dea2f9e..400ac2c19 100644 --- a/src/dxvk/dxvk_unbound.cpp +++ b/src/dxvk/dxvk_unbound.cpp @@ -67,7 +67,8 @@ namespace dxvk { | VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT - | VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; + | VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT + | VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT; info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT | dev->getShaderPipelineStages(); info.access = VK_ACCESS_UNIFORM_READ_BIT