mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-30 20:52:11 +01:00
[dxvk] Only pass needed amount of clear values when binding a framebuffer
Works around a Renderdoc bug and should hopefully make more sense. The views are compacted in a framebuffer so it should be fine to do this.
This commit is contained in:
parent
db69ade7e7
commit
d51562fc9a
@ -3470,7 +3470,7 @@ namespace dxvk {
|
||||
this->renderPassBindFramebuffer(
|
||||
m_state.om.framebuffer,
|
||||
m_state.om.renderPassOps,
|
||||
m_state.om.clearValues.size(),
|
||||
m_state.om.framebuffer->numAttachments(),
|
||||
m_state.om.clearValues.data());
|
||||
|
||||
// Track the final layout of each render target
|
||||
|
Loading…
x
Reference in New Issue
Block a user