mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 00:40:25 +01: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>
This commit is contained in:
parent
90de03708f
commit
7bd24d951a
1 changed files with 5 additions and 0 deletions
|
|
@ -7124,6 +7124,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