converting flags from VkShaderStageFlags to VkPipelineStageFlags in commitGraphicsBarriers (#2696)

This commit is contained in:
Justin Kim 2022-06-28 04:09:14 -07:00 committed by GitHub
parent dee36be20d
commit 972de7c9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -5058,7 +5058,7 @@ namespace dxvk {
if ((slot.bufferSlice.defined())
&& (slot.bufferSlice.bufferInfo().access & storageBufferAccess)) {
srcAccess = this->checkGfxBufferBarrier<DoEmit>(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<DoEmit>(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<DoEmit>(slot.imageView,
binding.stages, binding.access);
util::pipelineStages(binding.stages), binding.access);
}
break;