freedreno/ir3: force i/j pixel to r0.x
authorRob Clark <robdclark@chromium.org>
Fri, 11 Oct 2019 02:36:30 +0000 (19:36 -0700)
committerRob Clark <robdclark@gmail.com>
Fri, 18 Oct 2019 21:11:54 +0000 (21:11 +0000)
commit7d4213fe88a5398fa1624615780decf113d44359
treea5a39d3b0226e7998d5352a9eebe705a5a238e5d
parent07e9bf564f10affa32ee7beb995db4c78e9f0477
freedreno/ir3: force i/j pixel to r0.x

It seems that pre-fs texture fetch only works if ij_pix ends up in r0.x.
I've tried unknown zero bits, to no avail, and blob also seems to force
r0.x when this feature is used.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/ir3/ir3_compiler_nir.c