From: Francisco Jerez Date: Thu, 30 Apr 2015 16:29:54 +0000 (+0300) Subject: i965/fs: Have component() set the register stride to zero. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee1a8b5a8cc118b49b47c7074fa18cf1b4820885;p=mesa.git i965/fs: Have component() set the register stride to zero. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_ir_fs.h b/src/mesa/drivers/dri/i965/brw_ir_fs.h index a98f4e3e142..7ac7ff81d20 100644 --- a/src/mesa/drivers/dri/i965/brw_ir_fs.h +++ b/src/mesa/drivers/dri/i965/brw_ir_fs.h @@ -156,6 +156,7 @@ component(fs_reg reg, unsigned idx) assert(idx < reg.width); reg.subreg_offset = idx * type_sz(reg.type); reg.width = 1; + reg.stride = 0; return reg; }