Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2021-02-26 20:28:52 +0300
committerJoshua Ashton <joshua@froggi.es>2021-02-26 20:28:52 +0300
commit135a08d8e9b88244921094ed44395966d831e4ea (patch)
treee982173d63484bd817ec5fe05ea44c1135c416e0
parentdb69ade7e7a7d460fef8893d8bb5c1922fa8ba64 (diff)
[dxvk] Only pass needed amount of clear values when binding a framebufferattachment-stuff
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.
-rw-r--r--src/dxvk/dxvk_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp
index ee528601..dec2100c 100644
--- a/src/dxvk/dxvk_context.cpp
+++ b/src/dxvk/dxvk_context.cpp
@@ -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