projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9a86ae
)
i965/vs: Add support for conversion of FIXED_HW_REG src_reg to/from dst_reg.
author
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 03:59:24 +0000
(20:59 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 20:04:43 +0000
(13:04 -0700)
This was quietly occurring in some emit code I produced, and failed.
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 185a01e05f9965f38c99850494c516c53f5be203..621cb53ff8468074ed6381812455679ee1d617fa 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-38,6
+38,7
@@
src_reg::src_reg(dst_reg reg)
this->reg_offset = reg.reg_offset;
this->type = reg.type;
this->reladdr = reg.reladdr;
+ this->fixed_hw_reg = reg.fixed_hw_reg;
int swizzles[4];
int next_chan = 0;
@@
-68,6
+69,7
@@
dst_reg::dst_reg(src_reg reg)
this->type = reg.type;
this->writemask = WRITEMASK_XYZW;
this->reladdr = reg.reladdr;
+ this->fixed_hw_reg = reg.fixed_hw_reg;
}
vec4_instruction *