mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
mesa: clear shader_info::is_lowered in prog_to_nir
This needs to be resetted each time prog_to_nir is called because it turns st_nir_assign_vs_in_locations into a no-op when set. Fixes:81d106d6ec("radeonsi: lower IO intrinsics - complete rewrite of input/output scanning") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5001 Reviewed-by: Isaac Bosompem <mrisaacb@google.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11636> (cherry picked from commitbcf8c7910d)
This commit is contained in:
parent
b3a83ad2e6
commit
e1edeff0ae
2 changed files with 2 additions and 1 deletions
|
|
@ -868,7 +868,7 @@
|
|||
"description": "mesa: clear shader_info::is_lowered in prog_to_nir",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "81d106d6ecab326c96fb9f8db8e7f39621c9816e"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1024,6 +1024,7 @@ prog_to_nir(const struct gl_program *prog,
|
|||
s->info.clip_distance_array_size = 0;
|
||||
s->info.cull_distance_array_size = 0;
|
||||
s->info.separate_shader = false;
|
||||
s->info.io_lowered = false;
|
||||
|
||||
fail:
|
||||
if (c->error) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue