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>
This commit is contained in:
parent
19330eeb1d
commit
efa724133f
|
@ -2499,6 +2499,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;
|
||||
if (conditional_render_active)
|
||||
zink_start_conditional_render(ctx);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue