zink: set nonseamless hint for sampler states

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15536>
This commit is contained in:
Mike Blumenkrantz
2022-03-21 14:52:02 -04:00
committed by Marge Bot
parent 5b2d0cca17
commit 55f90c5fa4
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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;
}
+1
View File
@@ -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 {