mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
pan/midgard: Don't double check SCALAR units
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
d3b3daa9d3
commit
e9edae3ecb
1 changed files with 0 additions and 4 deletions
|
|
@ -188,10 +188,6 @@ is_single_component_mask(unsigned mask)
|
|||
static bool
|
||||
mir_is_scalar(midgard_instruction *ains)
|
||||
{
|
||||
/* Does the op support scalar units? */
|
||||
if (!(alu_opcode_props[ains->alu.op].props & UNITS_SCALAR))
|
||||
return false;
|
||||
|
||||
/* Do we try to use it as a vector op? */
|
||||
if (!is_single_component_mask(ains->mask))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue