projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0cfe8c
)
ir_to_mesa: Add missing initializion of lod_info variable.
author
Carl Worth
<cworth@cworth.org>
Wed, 21 Jul 2010 20:50:38 +0000
(13:50 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 21 Jul 2010 20:52:33 +0000
(13:52 -0700)
To quiet a compiler warning.
src/mesa/shader/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/shader/ir_to_mesa.cpp
b/src/mesa/shader/ir_to_mesa.cpp
index d1c09febd6b403e7b3b16f2dbf6cff83c1b0438f..a2b2eb95c82cde307efdf4f0e9a8f9396544eb6b 100644
(file)
--- a/
src/mesa/shader/ir_to_mesa.cpp
+++ b/
src/mesa/shader/ir_to_mesa.cpp
@@
-1564,7
+1564,7
@@
ir_to_mesa_visitor::visit(ir_call *ir)
void
ir_to_mesa_visitor::visit(ir_texture *ir)
{
- ir_to_mesa_src_reg result_src, coord, lod_info, projector;
+ ir_to_mesa_src_reg result_src, coord, lod_info
= { 0 }
, projector;
ir_to_mesa_dst_reg result_dst, coord_dst;
ir_to_mesa_instruction *inst = NULL;
prog_opcode opcode = OPCODE_NOP;