Commit ad0037fc authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋 Committed by Marge Bot

mesa/st: set lower_point_size for tes/gs during program update

these may not reach the other callsite in st_precompile_shader_variant(),
so we need to ensure that we get psiz if we need it
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <mesa/mesa!5885>
parent 6669d6ff
......@@ -295,6 +295,10 @@ st_update_common_program(struct st_context *st, struct gl_program *prog,
if (st->lower_ucp && st_user_clip_planes_enabled(st->ctx) &&
pipe_shader == PIPE_SHADER_GEOMETRY)
key.lower_ucp = st->ctx->Transform.ClipPlanesEnabled;
key.lower_point_size = st->lower_point_size &&
!st_point_size_per_vertex(st->ctx);
}
simple_mtx_lock(&st->ctx->Shared->Mutex);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment