From 972de7c9fb26f391e53fd27986b2bc7744340989 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Tue, 28 Jun 2022 04:09:14 -0700 Subject: [PATCH] converting flags from VkShaderStageFlags to VkPipelineStageFlags in commitGraphicsBarriers (#2696) --- src/dxvk/dxvk_context.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index ac85428b..7b5fe321 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -5058,7 +5058,7 @@ namespace dxvk { if ((slot.bufferSlice.defined()) && (slot.bufferSlice.bufferInfo().access & storageBufferAccess)) { srcAccess = this->checkGfxBufferBarrier(slot.bufferSlice, - binding.stages, binding.access); + util::pipelineStages(binding.stages), binding.access); } break; @@ -5067,7 +5067,7 @@ namespace dxvk { if ((slot.bufferView != nullptr) && (slot.bufferView->bufferInfo().access & storageBufferAccess)) { srcAccess = this->checkGfxBufferBarrier(slot.bufferView->slice(), - binding.stages, binding.access); + util::pipelineStages(binding.stages), binding.access); } break; @@ -5077,7 +5077,7 @@ namespace dxvk { if ((slot.imageView != nullptr) && (slot.imageView->imageInfo().access & storageImageAccess)) { srcAccess = this->checkGfxImageBarrier(slot.imageView, - binding.stages, binding.access); + util::pipelineStages(binding.stages), binding.access); } break;