projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e5363c7
)
i965/vs: Drop the assertion about dst.reg_offset == 0.
author
Eric Anholt
<eric@anholt.net>
Sat, 6 Aug 2011 02:31:53 +0000
(19:31 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 20:04:42 +0000
(13:04 -0700)
Adding the offset is the right thing to do here, and fixes
glsl-vs-mat-add-1.
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
index
be08936
..
a41c58c
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
@@
-146,7
+146,6
@@
vec4_instruction::get_dst(void)
switch (dst.file) {
case GRF:
switch (dst.file) {
case GRF:
- assert(dst.reg_offset == 0);
brw_reg = brw_vec8_grf(dst.reg + dst.reg_offset, 0);
brw_reg = retype(brw_reg, dst.type);
brw_reg.dw1.bits.writemask = dst.writemask;
brw_reg = brw_vec8_grf(dst.reg + dst.reg_offset, 0);
brw_reg = retype(brw_reg, dst.type);
brw_reg.dw1.bits.writemask = dst.writemask;