mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 07:30:09 +01:00
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: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5885>
This commit is contained in:
parent
6669d6ff0a
commit
ad0037fcfe
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue