freedreno/ir3: switch to NIR by default
authorRob Clark <robdclark@gmail.com>
Tue, 23 May 2017 16:05:12 +0000 (12:05 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 23 May 2017 16:26:35 +0000 (12:26 -0400)
commit1db28fbbea6e6c3f305783d6211a040ed38f4abf
tree4189ae454562e8750acd4bbf8b1b4511060f7d5b
parentcaa64b24ce4ca32addfae2bcd93b59b1e5225d82
freedreno/ir3: switch to NIR by default

Now that we lower vars to regs, we no longer regress for anything that
does complex dereferences.  (With tgsi, derefers are already lowered
before tgsi_to_nir, but not with glsl_to_nir.)  In fact it actually
fixes a few things to bypass tgsi.

So make NIR the default (finally!)

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