mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
zink: no-op redundant samplemask changes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23758>
This commit is contained in:
parent
f759cbb675
commit
14bf10c1ad
1 changed files with 2 additions and 0 deletions
|
|
@ -3546,6 +3546,8 @@ static void
|
|||
zink_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask)
|
||||
{
|
||||
struct zink_context *ctx = zink_context(pctx);
|
||||
if (ctx->gfx_pipeline_state.sample_mask == sample_mask)
|
||||
return;
|
||||
ctx->gfx_pipeline_state.sample_mask = sample_mask;
|
||||
zink_flush_dgc_if_enabled(ctx);
|
||||
if (zink_screen(pctx->screen)->have_full_ds3)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue