freedreno/ir3: enable indirect tex/samp (sam.s2en)
authorRob Clark <robdclark@gmail.com>
Sat, 16 Mar 2019 14:33:26 +0000 (10:33 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Mar 2019 13:13:05 +0000 (09:13 -0400)
commit1443694ee5a063936afc5f273d75294ea77c0bc7
treee442f715628d786c1debe0638cdcdb37c1238318
parent1088b788d8616f4cb835ceeeea969b9adcc02487
freedreno/ir3: enable indirect tex/samp (sam.s2en)

For now it uses indirect for everything.  The next step is for the
ir3_cp pass to detect the case that tex and samp idx are immediate
and convert the sam instruction back to the non .s2en variant.  But
doing that in a following patch so we can shake out the bugs with
.s2en more easily.

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