i965/fs/generator: Don't use the address immediate for MOV_INDIRECT
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 28 Oct 2016 21:48:53 +0000 (14:48 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 29 Oct 2016 00:11:16 +0000 (17:11 -0700)
commit2a4a86862c949055c71637429f6d5f2e725d07d8
tree243e8cfae6d5b705987f452d3b5acb13f33d3b1a
parent4bf45a6079b5cc6b0360b637c0c7baa456b8257d
i965/fs/generator: Don't use the address immediate for MOV_INDIRECT

The address immediate field is only 9 bits and, since the value is in
bytes, the highest GRF we can point to with it is g15.  This makes it
pretty close to useless for MOV_INDIRECT.  There were already piles of
restrictions preventing us from using it prior to Broadwell, so let's get
rid of the gen8+ code path entirely.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97779
Cc: "12.0 13.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp