mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxvk] Add support for transform feedback access flags
This commit is contained in:
parent
8cdccc6b05
commit
bf906aa226
@ -149,7 +149,8 @@ namespace dxvk {
|
||||
| VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT
|
||||
| VK_ACCESS_TRANSFER_READ_BIT
|
||||
| VK_ACCESS_HOST_READ_BIT
|
||||
| VK_ACCESS_MEMORY_READ_BIT;
|
||||
| VK_ACCESS_MEMORY_READ_BIT
|
||||
| VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT;
|
||||
|
||||
const VkAccessFlags wflags
|
||||
= VK_ACCESS_SHADER_WRITE_BIT
|
||||
@ -157,7 +158,9 @@ namespace dxvk {
|
||||
| VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT
|
||||
| VK_ACCESS_TRANSFER_WRITE_BIT
|
||||
| VK_ACCESS_HOST_WRITE_BIT
|
||||
| VK_ACCESS_MEMORY_WRITE_BIT;
|
||||
| VK_ACCESS_MEMORY_WRITE_BIT
|
||||
| VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT
|
||||
| VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT;
|
||||
|
||||
DxvkAccessFlags result;
|
||||
if (flags & rflags) result.set(DxvkAccess::Read);
|
||||
|
Loading…
Reference in New Issue
Block a user