i965/fs: Fix half() to handle more exotic register files.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 May 2016 00:37:25 +0000 (17:37 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:29:05 +0000 (23:29 -0700)
commit298320280f7255c6ed18a65780a93cb6a29e8644
tree496b7882ac7d7ebffc94aa9da6a84bb0068f2a98
parent8c9601ef7b28b047af361126a8adc46c729493b2
i965/fs: Fix half() to handle more exotic register files.

horiz_offset() is able to deal with a superset of the register files
currently special-cased in half().  Just call horiz_offset() in all
cases.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_ir_fs.h