mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
zink: call gather_info during shader creation
this is totally out of sync at this point Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28466>
This commit is contained in:
parent
562cb8381e
commit
11e988fa80
1 changed files with 1 additions and 0 deletions
|
|
@ -5573,6 +5573,7 @@ zink_shader_create(struct zink_screen *screen, struct nir_shader *nir)
|
|||
nir_gather_xfb_info_from_intrinsics(nir);
|
||||
/* clean up io to improve direct access */
|
||||
optimize_nir(nir, NULL, true);
|
||||
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
|
||||
scan_nir(screen, nir, ret);
|
||||
rework_io_vars(nir, nir_var_shader_in);
|
||||
rework_io_vars(nir, nir_var_shader_out);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue