intel/eu: Just modify the offset in brw_broadcast
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 Oct 2017 21:16:31 +0000 (14:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commit068beb41d831919cb0fb82d01daaee1c57679803
tree6d529329bef528b4b8dec47d65617252775d5146
parente3bcc8613311dede33612b185b7e6e374c09570c
intel/eu: Just modify the offset in brw_broadcast

This means we have to drop const from a variable but it also means that
100% of the code which deals with the offset limit is in one place.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/compiler/brw_eu_emit.c