freedreno/ir3: correct # of dest components for intrinsics
authorRob Clark <robdclark@gmail.com>
Thu, 9 Nov 2017 15:50:44 +0000 (10:50 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 10 Nov 2017 13:57:33 +0000 (08:57 -0500)
commit86154acb5722c2eecf46324c5509e963a212ba44
treef49c8c2a725bb65b1299bf080d0d08939ae7530f
parent3fcf18634ce2dc883c60aeee48a31f90010be278
freedreno/ir3: correct # of dest components for intrinsics

Don't rely on intr->num_components having a valid value.  It doesn't
seem to anymore for non-vectorized intrinsics.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c