1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 07:08:50 +01:00

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

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;