projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4171ef3
)
i965/fs: Have component() set the register stride to zero.
author
Francisco Jerez
<currojerez@riseup.net>
Thu, 30 Apr 2015 16:29:54 +0000
(19:29 +0300)
committer
Francisco Jerez
<currojerez@riseup.net>
Tue, 12 May 2015 12:47:56 +0000
(15:47 +0300)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_ir_fs.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_ir_fs.h
b/src/mesa/drivers/dri/i965/brw_ir_fs.h
index a98f4e3e14289aa23c81303b68f3a14e947a6b39..7ac7ff81d202b8787efccef1b9e295ca0820b260 100644
(file)
--- 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;
}