mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 20:20:24 +01:00
llvmpipe: disable conditional rendering mem for blits
u_blitter doesn't support this, and changing u_blitter to support a niche
lavapipe feature seems like overkill
fixes dEQP-VK.conditional_rendering.conditional_ignore.resolve_image*
cc: mesa-stable
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35076>
(cherry picked from commit 753d3e71d3)
This commit is contained in:
parent
bb12110359
commit
0311bc6d0e
2 changed files with 6 additions and 1 deletions
|
|
@ -4814,7 +4814,7 @@
|
|||
"description": "llvmpipe: disable conditional rendering mem for blits",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -191,7 +191,12 @@ lp_blit(struct pipe_context *pipe,
|
|||
util_blitter_save_render_condition(lp->blitter, lp->render_cond_query,
|
||||
lp->render_cond_cond,
|
||||
lp->render_cond_mode);
|
||||
|
||||
void *render_cond_buffer = lp->render_cond_buffer;
|
||||
if (!blit_info->render_condition_enable)
|
||||
lp->render_cond_buffer = NULL;
|
||||
util_blitter_blit(lp->blitter, &info, NULL);
|
||||
lp->render_cond_buffer = render_cond_buffer;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue