mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[dxvk] Re-introduce state check for updateFramebuffer
Turns out we broke batching render target clears earlier.
This commit is contained in:
parent
6b5d01c934
commit
d128d776ad
@ -3970,6 +3970,7 @@ namespace dxvk {
|
|||||||
|
|
||||||
|
|
||||||
void DxvkContext::updateFramebuffer() {
|
void DxvkContext::updateFramebuffer() {
|
||||||
|
if (m_flags.test(DxvkContextFlag::GpDirtyFramebuffer)) {
|
||||||
m_flags.clr(DxvkContextFlag::GpDirtyFramebuffer);
|
m_flags.clr(DxvkContextFlag::GpDirtyFramebuffer);
|
||||||
|
|
||||||
this->spillRenderPass();
|
this->spillRenderPass();
|
||||||
@ -3989,6 +3990,7 @@ namespace dxvk {
|
|||||||
|
|
||||||
m_flags.set(DxvkContextFlag::GpDirtyPipelineState);
|
m_flags.set(DxvkContextFlag::GpDirtyPipelineState);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void DxvkContext::updateIndexBufferBinding() {
|
void DxvkContext::updateIndexBufferBinding() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user