i965: Fix MRF register number assertions for compr4.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Sep 2015 14:42:27 +0000 (07:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Sep 2015 14:45:14 +0000 (07:45 -0700)
commitc1070550c289d48ef389aeb8c564d1abd1123ad1
tree4f0048fb61d49492fe3389cf13f8d5d810422a0c
parent72ebd532a163fd92d96a94a4260da1bfb75a62c8
i965: Fix MRF register number assertions for compr4.

compr4 is represented by setting the high bit on the MRF number.
We need to mask it out before sanity checking the register number.

Fixes ~8000 assert fails on Ironlake and G45.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92066
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c