Skip to content
Snippets Groups Projects
Commit 78de2de8 authored by Erik Faye-Lund's avatar Erik Faye-Lund
Browse files

gallium/st: fix shader_has_one_variant


I think we need to care about this here as well, otherwise the variant
logic might be short-circuited.

Fixes: 7eb5fd98 ("mesa/st: handle running nir lower passes for ucp and psiz in tess stage")
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <mesa/mesa!9631>
parent bdfe0e3e
No related branches found
No related tags found
Loading
......@@ -832,7 +832,8 @@ st_create_context_priv(struct gl_context *ctx, struct pipe_context *pipe,
st->has_shareable_shaders &&
!st->clamp_frag_depth_in_shader &&
!st->clamp_vert_color_in_shader &&
!st->lower_point_size;
!st->lower_point_size &&
!st->lower_ucp;
st->shader_has_one_variant[MESA_SHADER_GEOMETRY] =
st->has_shareable_shaders &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment