freedreno/ir3/ra: fix half-class conflicts
authorRob Clark <robdclark@gmail.com>
Sat, 16 Mar 2019 14:03:12 +0000 (10:03 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Mar 2019 13:13:05 +0000 (09:13 -0400)
commit2d31cf9d3b5d6f43dd01d5335c88c0e90fb22756
tree3d5db01fa2d66304021903aff5a9a08ab42cda49
parentcc5ca9391ce90190f2c95e00db5ffd38db1490a6
freedreno/ir3/ra: fix half-class conflicts

On a6xx, half-regs conflict with full-regs.  But we were only setting up
conflicts for the first class (ie. scalar, but not hvec2/hvec3/hvec4),
resulting in higher half-reg classes getting assigned to regs that
overwrite full-regs.

Noticed while trying to enable indirect-sampler (sam.s2en) which uses an
hvec2 argument to pass the sampler/tex index.

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