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:
parent
dee36be20d
commit
972de7c9fb
@ -5058,7 +5058,7 @@ namespace dxvk {
|
|||||||
if ((slot.bufferSlice.defined())
|
if ((slot.bufferSlice.defined())
|
||||||
&& (slot.bufferSlice.bufferInfo().access & storageBufferAccess)) {
|
&& (slot.bufferSlice.bufferInfo().access & storageBufferAccess)) {
|
||||||
srcAccess = this->checkGfxBufferBarrier<DoEmit>(slot.bufferSlice,
|
srcAccess = this->checkGfxBufferBarrier<DoEmit>(slot.bufferSlice,
|
||||||
binding.stages, binding.access);
|
util::pipelineStages(binding.stages), binding.access);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -5067,7 +5067,7 @@ namespace dxvk {
|
|||||||
if ((slot.bufferView != nullptr)
|
if ((slot.bufferView != nullptr)
|
||||||
&& (slot.bufferView->bufferInfo().access & storageBufferAccess)) {
|
&& (slot.bufferView->bufferInfo().access & storageBufferAccess)) {
|
||||||
srcAccess = this->checkGfxBufferBarrier<DoEmit>(slot.bufferView->slice(),
|
srcAccess = this->checkGfxBufferBarrier<DoEmit>(slot.bufferView->slice(),
|
||||||
binding.stages, binding.access);
|
util::pipelineStages(binding.stages), binding.access);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -5077,7 +5077,7 @@ namespace dxvk {
|
|||||||
if ((slot.imageView != nullptr)
|
if ((slot.imageView != nullptr)
|
||||||
&& (slot.imageView->imageInfo().access & storageImageAccess)) {
|
&& (slot.imageView->imageInfo().access & storageImageAccess)) {
|
||||||
srcAccess = this->checkGfxImageBarrier<DoEmit>(slot.imageView,
|
srcAccess = this->checkGfxImageBarrier<DoEmit>(slot.imageView,
|
||||||
binding.stages, binding.access);
|
util::pipelineStages(binding.stages), binding.access);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user