freedreno/ir3/nir: few little fixes
authorRob Clark <robclark@freedesktop.org>
Thu, 16 Apr 2015 19:35:50 +0000 (15:35 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 17 Apr 2015 15:40:14 +0000 (11:40 -0400)
commit95e68adcd9f2589ae6d998328c72b84ffc49edc7
tree6f22fc178e205c65a631abd4fc1e8a751a192466
parentefbf14e8936384ab1d243afbe3fa9bb0f40e3898
freedreno/ir3/nir: few little fixes

isaml needs to scale up coords based on LoD.  Also fix bogus bary.f
varying # when there are non-bary frag shader inputs.  And use sub.s of
a positive immediate rather than add.s of negative (since CP is better
about figuring out that those can be collapsed into the cat2 instr).

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c