i965/fs: Add an enum for keeping track of texture instruciton sources
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 6 Feb 2016 02:39:13 +0000 (18:39 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Feb 2016 23:00:17 +0000 (15:00 -0800)
commita37b8110c13bf9e38220d6eb9e531b2acffcb4ed
treee83e5555cc44d2545f84be60979603c69f4d3154
parent5ec456375e4fdd0b6c7d797f99191044e19ead74
i965/fs: Add an enum for keeping track of texture instruciton sources

These logical texture instructions can have a *lot* of sources.  It's much
safer if we have symbolic names for them.

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