mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-29 10:40:42 +02:00
mesa/st: count FF shaders as needing psiz export for precompile
this is consistent with logic for regular compiles Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15228>
This commit is contained in:
parent
1183988d74
commit
070a7b506d
1 changed files with 1 additions and 1 deletions
|
|
@ -2023,7 +2023,7 @@ st_precompile_shader_variant(struct st_context *st,
|
|||
prog->Target == GL_GEOMETRY_PROGRAM_NV) {
|
||||
if (st->lower_point_size && !st->ctx->VertexProgram.PointSizeEnabled)
|
||||
key.export_point_size = is_last_vertex_stage(st->ctx, prog) &&
|
||||
!nir_find_variable_with_location(prog->nir, nir_var_shader_out, VARYING_SLOT_PSIZ);
|
||||
(!prog->nir || !nir_find_variable_with_location(prog->nir, nir_var_shader_out, VARYING_SLOT_PSIZ));
|
||||
}
|
||||
key.st = st->has_shareable_shaders ? NULL : st;
|
||||
st_get_common_variant(st, prog, &key);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue