i965/fs: Fix offset() for registers with zero stride.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 22 Apr 2015 11:46:17 +0000 (14:46 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 12 May 2015 12:47:56 +0000 (15:47 +0300)
commit4171ef371a25fccf9e96c0908a4848ea79dcfef2
tree8c43e3e4006ba16237013b0559c0de92223e1d6c
parent0db663503ea86579d3352fe83d428d573a8d2b03
i965/fs: Fix offset() for registers with zero stride.

stride == 0 implies that the register has one channel per vector
component.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_ir_fs.h