i965/fs: Fix horiz_offset() to handle ARF and HW GRF register files.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 May 2016 00:32:55 +0000 (17:32 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:29:05 +0000 (23:29 -0700)
commit8c9601ef7b28b047af361126a8adc46c729493b2
tree2593cf267365fab74fabcd59aa7a25131ded456b
parent7d430fc05e8f0a6211fb587f1bc7b2a76ed7de10
i965/fs: Fix horiz_offset() to handle ARF and HW GRF register files.

We'll hit these in some cases during SIMD lowering in 32-wide
programs.

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