i965: Use the tex projector lowering pass instead of hand-rolling it.
authorEric Anholt <eric@anholt.net>
Wed, 1 Apr 2015 18:38:53 +0000 (11:38 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 3 Apr 2015 18:50:27 +0000 (11:50 -0700)
commitcb966fb2bea77b1d7b1bdb6597b7b85d810f2d0a
tree5cb21f4fb3f205080622f3433c720b5a27767b40
parentea811b7868d4039499dddf53c109cf0b9da98967
i965: Use the tex projector lowering pass instead of hand-rolling it.

This only impacts the ARB_fp path.  We can't quite disable the GLSL-level
lowering pass, because it needs to apply before
brw_do_lower_unnormalized_offset().

total instructions in shared programs: 5667857 -> 5667847 (-0.00%)
instructions in affected programs:     1114 -> 1104 (-0.90%)
helped:                                16
HURT:                                  6

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp