Module: Mesa
Branch: master
Commit: 0ab72a5a0a35b84249863fe6616aaa66c0313c1c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ab72a5a0a35b84249863fe6616aaa66c0313c1c

Author: Marek Olšák <[email protected]>
Date:   Sat May 15 23:53:04 2010 +0200

r300/compiler: silence a warning

---

 .../drivers/dri/r300/compiler/radeon_program_tex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c 
b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
index 42c08cd..8336e58 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
@@ -119,7 +119,7 @@ int radeonTransformTEX(
                        struct rc_instruction * inst_cmp;
                        unsigned tmp_texsample = rc_find_free_temporary(c);
                        unsigned tmp_sum = rc_find_free_temporary(c);
-                       unsigned tmp_recip_w;
+                       unsigned tmp_recip_w = 0;
                        int pass, fail, tex;
 
                        /* Save the output register. */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to