mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
glsl_to_tgsi: try harder to lower unsupported ir_binop_vector_extract
This fixes some piglits.
Cc: 18.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit 7bd24d951a)
This commit is contained in:
parent
cd52573fac
commit
e7709adf7a
1 changed files with 5 additions and 0 deletions
|
|
@ -7049,6 +7049,11 @@ st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog)
|
|||
} while (progress);
|
||||
}
|
||||
|
||||
/* Do this again to lower ir_binop_vector_extract introduced
|
||||
* by optimization passes.
|
||||
*/
|
||||
do_vec_index_to_cond_assign(ir);
|
||||
|
||||
validate_ir_tree(ir);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue