mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
r600/sfn: Don't scalarize fdd instructions
These are handled by a vectorized texture op. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18343>
This commit is contained in:
parent
5099bb5387
commit
c6d0533b71
1 changed files with 6 additions and 0 deletions
|
|
@ -620,6 +620,12 @@ bool r600_lower_to_scalar_instr_filter(const nir_instr *instr, const void *)
|
|||
case nir_op_fdot2:
|
||||
case nir_op_fdot3:
|
||||
case nir_op_fdot4:
|
||||
case nir_op_fddx:
|
||||
case nir_op_fddx_coarse:
|
||||
case nir_op_fddx_fine:
|
||||
case nir_op_fddy:
|
||||
case nir_op_fddy_coarse:
|
||||
case nir_op_fddy_fine:
|
||||
return nir_src_bit_size(alu->src[0].src) == 64;
|
||||
case nir_op_cube_r600:
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue