i965/fs: Add support for MOV_INDIRECT on pre-Broadwell hardware
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 Nov 2015 17:01:11 +0000 (09:01 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Dec 2015 22:28:31 +0000 (14:28 -0800)
commit2f1455dbb0e5a2f1b395e767b0c7cd3a58dc76e4
tree82b660f39634cfe95942581988f31aac508753c0
parent4be9a1c7bbad8c95e1f5aab91e8cdf3c0cfb0ec1
i965/fs: Add support for MOV_INDIRECT on pre-Broadwell hardware

While we're at it, we also add support for the possibility that the
indirect is, in fact, a constant.  This shouldn't happen in the common case
(if it does, that means NIR failed to constant-fold something), but it's
possible so we should handle it.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp