i965/cs: Use udiv/umod for local IDs
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 19 Oct 2016 17:25:21 +0000 (10:25 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 19 Oct 2016 23:51:45 +0000 (16:51 -0700)
commit1fa000a33b010436ac3bf4b3c8da2974d3788382
tree6867bf0bd5d119e3590940245f0dc1d8a95297dc
parent740a8fa1e214bafef1641336c90f09cb4ed0c415
i965/cs: Use udiv/umod for local IDs

This allows for more optimizations relating to power-of-two divisions.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_nir_intrinsics.c