[Mesa-dev] [PATCH 05/21] i965/fs: Have channel() set the register stride to zero.
Francisco Jerez
currojerez at riseup.net
Tue Apr 28 10:08:21 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 16b113e..7139934 100644
--- a/src/mesa/drivers/dri/i965/brw_ir_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_ir_fs.h
@@ -191,6 +191,7 @@ channel(fs_reg reg, unsigned i)
assert(i < reg.width);
reg.subreg_offset = i * type_sz(reg.type);
reg.width = 1;
+ reg.stride = 0;
return reg;
}
--
2.3.5
More information about the mesa-dev
mailing list