mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 07:10:20 +01:00
i965/fs: Don't emit SEL instructions for type-converting MOVs.
SEL can only convert between a few integer types, which we basically never do. Fixes fs/vs-double-uniform-array-direct-indirect-non-uniform-control-flow Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Acked-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
004468de14
commit
7dccd38b40
1 changed files with 2 additions and 0 deletions
|
|
@ -165,6 +165,8 @@ fs_visitor::opt_peephole_sel()
|
|||
then_mov[i]->exec_size != else_mov[i]->exec_size ||
|
||||
then_mov[i]->group != else_mov[i]->group ||
|
||||
then_mov[i]->force_writemask_all != else_mov[i]->force_writemask_all ||
|
||||
then_mov[i]->dst.type != then_mov[i]->src[0].type ||
|
||||
else_mov[i]->dst.type != else_mov[i]->src[0].type ||
|
||||
then_mov[i]->is_partial_write() ||
|
||||
else_mov[i]->is_partial_write() ||
|
||||
then_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue