[Mesa-dev] [PATCH 01/29] i965/fs: Have component() set the register stride to zero.
Francisco Jerez
currojerez at riseup.net
Sat May 2 08:29:28 PDT 2015
---
src/mesa/drivers/dri/i965/brw_ir_fs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/brw_ir_fs.h b/src/mesa/drivers/dri/i965/brw_ir_fs.h
index e2d2617..32fab65 100644
--- a/src/mesa/drivers/dri/i965/brw_ir_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_ir_fs.h
@@ -164,6 +164,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;
}
--
2.3.5
More information about the mesa-dev
mailing list