mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[dxvk] Fix IgnoreWriteAfterWritw check for indirect dispatches
This commit is contained in:
parent
2f01df82d2
commit
5f9d5f1053
@ -4937,8 +4937,11 @@ namespace dxvk {
|
||||
continue;
|
||||
|
||||
// Skip write-after-write barriers if explicitly requested
|
||||
VkPipelineStageFlags stageMask = VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
|
||||
| VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT;
|
||||
|
||||
if ((m_barrierControl.test(DxvkBarrierControl::IgnoreWriteAfterWrite))
|
||||
&& (m_execBarriers.getSrcStages() == VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT)
|
||||
&& (!(m_execBarriers.getSrcStages() & ~stageMask))
|
||||
&& ((srcAccess | dstAccess) == DxvkAccess::Write))
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user