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:
committed by
Marge Bot
parent
5b2d0cca17
commit
55f90c5fa4
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user