mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-13 17:30:32 +01:00
zink: flag sample locations for re-set on batch flush
this needs to be re-set any time the cmdbuf changes
cc: mesa-stable
Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15397>
(cherry picked from commit efa724133f)
This commit is contained in:
parent
32807e38c3
commit
4855a4d445
2 changed files with 2 additions and 1 deletions
|
|
@ -481,7 +481,7 @@
|
|||
"description": "zink: flag sample locations for re-set on batch flush",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2459,6 +2459,7 @@ flush_batch(struct zink_context *ctx, bool sync)
|
|||
ctx->oom_stall = false;
|
||||
ctx->dd->bindless_bound = false;
|
||||
ctx->di.bindless_refs_dirty = true;
|
||||
ctx->sample_locations_changed = ctx->gfx_pipeline_state.sample_locations_enabled;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue