diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index ae82677cd6a..f6e4640a9da 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -410,6 +410,7 @@ zink_create_sampler_state(struct pipe_context *pctx, util_dynarray_init(&sampler->desc_set_refs.refs, NULL); calc_descriptor_hash_sampler_state(sampler); sampler->custom_border_color = need_custom; + sampler->nonseamless = !state->seamless_cube_map; return sampler; } diff --git a/src/gallium/drivers/zink/zink_context.h b/src/gallium/drivers/zink/zink_context.h index 90c0bc38431..db67a2c017e 100644 --- a/src/gallium/drivers/zink/zink_context.h +++ b/src/gallium/drivers/zink/zink_context.h @@ -80,6 +80,7 @@ struct zink_sampler_state { struct zink_descriptor_refs desc_set_refs; struct zink_batch_usage *batch_uses; bool custom_border_color; + bool nonseamless; }; struct zink_buffer_view {