1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Add transform feedback buffer usage to dummy buffer

Silences some Vulkan validation errors.
This commit is contained in:
Philip Rebohle 2020-12-06 00:35:29 +01:00
parent 0b4e167fc9
commit 854ae7b862
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -67,7 +67,8 @@ namespace dxvk {
| VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT | VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT
| VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT
| VK_BUFFER_USAGE_UNIFORM_TEXEL_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 info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT
| dev->getShaderPipelineStages(); | dev->getShaderPipelineStages();
info.access = VK_ACCESS_UNIFORM_READ_BIT info.access = VK_ACCESS_UNIFORM_READ_BIT