i965/fs: Add support for gl_HelperInvocation system value.
authorMatt Turner <mattst88@gmail.com>
Sat, 14 Nov 2015 01:51:12 +0000 (17:51 -0800)
committerMatt Turner <mattst88@gmail.com>
Sat, 21 Nov 2015 01:39:33 +0000 (17:39 -0800)
commitc875e3cdd21811ad6669160d59fa39a4526ef872
treeab6ebb5bd4daf79b1d9f4d0df48c24d8a4ed0c18
parent4b15281295791278b3cd63baccb528742de1d21f
i965/fs: Add support for gl_HelperInvocation system value.

In most cases (when the negate is copy propagated and the MOV removed),
this is two instructions on Gen >= 8 and only two instructions on
earlier platforms -- and it doesn't use the flag register.

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