mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 07:08:50 +01:00
[dxvk] Update descriptor sets after binding pipeline
This commit is contained in:
parent
6256ab2a19
commit
b51d7a3cc0
@ -5165,14 +5165,14 @@ namespace dxvk {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_descriptorState.hasDirtyComputeSets())
|
||||
this->updateComputeShaderResources();
|
||||
|
||||
if (m_flags.test(DxvkContextFlag::CpDirtyPipelineState)) {
|
||||
if (unlikely(!this->updateComputePipelineState()))
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_descriptorState.hasDirtyComputeSets())
|
||||
this->updateComputeShaderResources();
|
||||
|
||||
if (m_flags.test(DxvkContextFlag::DirtyPushConstants))
|
||||
this->updatePushConstants<VK_PIPELINE_BIND_POINT_COMPUTE>();
|
||||
|
||||
@ -5207,9 +5207,6 @@ namespace dxvk {
|
||||
if (m_flags.test(DxvkContextFlag::GpDirtyVertexBuffers))
|
||||
this->updateVertexBufferBindings();
|
||||
|
||||
if (m_descriptorState.hasDirtyGraphicsSets())
|
||||
this->updateGraphicsShaderResources();
|
||||
|
||||
if (m_flags.test(DxvkContextFlag::GpDirtyPipelineState)) {
|
||||
DxvkGlobalPipelineBarrier barrier = { };
|
||||
|
||||
@ -5227,6 +5224,9 @@ namespace dxvk {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_descriptorState.hasDirtyGraphicsSets())
|
||||
this->updateGraphicsShaderResources();
|
||||
|
||||
if (m_state.gp.flags.test(DxvkGraphicsPipelineFlag::HasTransformFeedback))
|
||||
this->updateTransformFeedbackState();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user