i965/fs_nir: Refactor store_output, load_input, and load_uniform
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Dec 2015 06:41:50 +0000 (22:41 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 10 Dec 2015 20:25:16 +0000 (12:25 -0800)
commitf3970fad9e5b04e04de366a65fed5a30da618f9d
tree7639ada767a6481c5304fa7f45ad7316cb817640
parent79bff488bc23b8615cc37069b6c5914c56be835f
i965/fs_nir: Refactor store_output, load_input, and load_uniform

There was way too much incrementing of things going on.  Instead, let's
just start everything off at the right base location, and then increment in
the loop.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp