mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 02:50:35 +01:00
llvmpipe/nir: call gather info to update inputs read properly
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24436>
This commit is contained in:
parent
5827034dfc
commit
2b09d2d715
1 changed files with 1 additions and 0 deletions
|
|
@ -3981,6 +3981,7 @@ llvmpipe_create_fs_state(struct pipe_context *pipe,
|
|||
nir_shader *nir = shader->base.ir.nir;
|
||||
NIR_PASS_V(nir, nir_lower_fragcolor, nir->info.fs.color_is_dual_source ? 1 : 8);
|
||||
|
||||
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
|
||||
nir_tgsi_scan_shader(nir, &shader->info.base, true);
|
||||
shader->info.num_texs = shader->info.base.opcode_count[TGSI_OPCODE_TEX];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue