projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bdbcce
)
mesa: Initialize variables in mesa_src_reg_from_ir_src_reg.
author
Vinson Lee
<vlee@vmware.com>
Sun, 22 Aug 2010 06:56:24 +0000
(23:56 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 22 Aug 2010 06:56:24 +0000
(23:56 -0700)
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 9fdeaa9be3422b1e145235dbe411890634c46e20..8df85dc3ea11bd78ee4b9d883868d922898fc717 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-2235,6
+2235,8
@@
mesa_src_reg_from_ir_src_reg(ir_to_mesa_src_reg reg)
mesa_reg.Negate = reg.negate;
mesa_reg.Abs = 0;
mesa_reg.HasIndex2 = GL_FALSE;
+ mesa_reg.RelAddr2 = 0;
+ mesa_reg.Index2 = 0;
return mesa_reg;
}