i965: Implement gl_InvocationID.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Jul 2015 07:16:19 +0000 (00:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Oct 2015 21:27:58 +0000 (14:27 -0700)
commit48c76eae8e52fba2fe22d2cfa7f3c94a5420feb2
tree3974f20a320a3c264132db0d6ca0a9e8f143fd20
parentc5ae34f38f239d346090212a9f33a947a3b7642e
i965: Implement gl_InvocationID.

It's stored in bits 31:27 of g1 (along with the URB handles).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp