mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 09:23:53 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_descriptorState.hasDirtyComputeSets())
|
|
||||||
this->updateComputeShaderResources();
|
|
||||||
|
|
||||||
if (m_flags.test(DxvkContextFlag::CpDirtyPipelineState)) {
|
if (m_flags.test(DxvkContextFlag::CpDirtyPipelineState)) {
|
||||||
if (unlikely(!this->updateComputePipelineState()))
|
if (unlikely(!this->updateComputePipelineState()))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_descriptorState.hasDirtyComputeSets())
|
||||||
|
this->updateComputeShaderResources();
|
||||||
|
|
||||||
if (m_flags.test(DxvkContextFlag::DirtyPushConstants))
|
if (m_flags.test(DxvkContextFlag::DirtyPushConstants))
|
||||||
this->updatePushConstants<VK_PIPELINE_BIND_POINT_COMPUTE>();
|
this->updatePushConstants<VK_PIPELINE_BIND_POINT_COMPUTE>();
|
||||||
|
|
||||||
@ -5207,9 +5207,6 @@ namespace dxvk {
|
|||||||
if (m_flags.test(DxvkContextFlag::GpDirtyVertexBuffers))
|
if (m_flags.test(DxvkContextFlag::GpDirtyVertexBuffers))
|
||||||
this->updateVertexBufferBindings();
|
this->updateVertexBufferBindings();
|
||||||
|
|
||||||
if (m_descriptorState.hasDirtyGraphicsSets())
|
|
||||||
this->updateGraphicsShaderResources();
|
|
||||||
|
|
||||||
if (m_flags.test(DxvkContextFlag::GpDirtyPipelineState)) {
|
if (m_flags.test(DxvkContextFlag::GpDirtyPipelineState)) {
|
||||||
DxvkGlobalPipelineBarrier barrier = { };
|
DxvkGlobalPipelineBarrier barrier = { };
|
||||||
|
|
||||||
@ -5227,6 +5224,9 @@ namespace dxvk {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_descriptorState.hasDirtyGraphicsSets())
|
||||||
|
this->updateGraphicsShaderResources();
|
||||||
|
|
||||||
if (m_state.gp.flags.test(DxvkGraphicsPipelineFlag::HasTransformFeedback))
|
if (m_state.gp.flags.test(DxvkGraphicsPipelineFlag::HasTransformFeedback))
|
||||||
this->updateTransformFeedbackState();
|
this->updateTransformFeedbackState();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user