mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 15:30:14 +01:00
zink: don't skip cbuf store ops if resolve is set
inlined resolve ops are still somehow slower than explicit ones, so the data has to be written out for the resolve cc: mesa-stable Acked-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30750>
This commit is contained in:
parent
a869237d50
commit
38f4501a5c
1 changed files with 1 additions and 1 deletions
|
|
@ -2754,7 +2754,7 @@ begin_rendering(struct zink_context *ctx, bool check_msaa_expand)
|
|||
else
|
||||
ctx->dynamic_fb.attachments[i].loadOp = VK_ATTACHMENT_LOAD_OP_LOAD;
|
||||
if (use_tc_info) {
|
||||
if (ctx->dynamic_fb.tc_info.cbuf_invalidate & BITFIELD_BIT(i))
|
||||
if (!ctx->dynamic_fb.tc_info.has_resolve && ctx->dynamic_fb.tc_info.cbuf_invalidate & BITFIELD_BIT(i))
|
||||
ctx->dynamic_fb.attachments[i].storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE;
|
||||
else
|
||||
ctx->dynamic_fb.attachments[i].storeOp = VK_ATTACHMENT_STORE_OP_STORE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue