i965/fs: Actually set/use the mlen for gen7 uniform pull constant loads
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Jun 2015 19:58:37 +0000 (12:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Jun 2015 22:57:56 +0000 (15:57 -0700)
commit241317d59ab440bdcda25bacaadacfb3b4c2dd93
treef165d5809e0dd28c2d90d2c70a1d512852d272eb
parent3258e1b80d66ec26f14a24a5eae0629a2d23a444
i965/fs: Actually set/use the mlen for gen7 uniform pull constant loads

Previously, we were allocating the payload with different sizes per gen and
then figuring out the mlen in the generator based on gen.  This meant,
among other things, that the higher level passes knew nothing about it.

Acked-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp