1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[dxvk] Fix incorrect barrier for fragment shader resolve

This commit is contained in:
Philip Rebohle 2021-03-03 23:16:25 +01:00
parent 0367bf95c4
commit 94049c0c90
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -3331,7 +3331,8 @@ namespace dxvk {
if (srcImage->info().layout != srcLayout) {
m_execAcquires.accessImage(
srcImage, srcSubresourceRange,
srcImage->info().layout, 0, 0,
srcImage->info().layout,
srcImage->info().stages, 0,
srcLayout,
VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,
VK_ACCESS_SHADER_READ_BIT);