projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59bdee
)
r300g: init chan=0 to silence warning
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Mar 2012 03:53:46 +0000
(20:53 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Mar 2012 03:53:46 +0000
(20:53 -0700)
src/gallium/drivers/r300/compiler/radeon_optimize.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/compiler/radeon_optimize.c
b/src/gallium/drivers/r300/compiler/radeon_optimize.c
index 2d799a6547a564be2125d24655417d9339842cd8..0714d794182bb4da8a6b575478a506989ce3f4f2 100644
(file)
--- a/
src/gallium/drivers/r300/compiler/radeon_optimize.c
+++ b/
src/gallium/drivers/r300/compiler/radeon_optimize.c
@@
-700,7
+700,7
@@
static int peephole_mul_omod(
struct rc_instruction * inst_mul,
struct rc_list * var_list)
{
- unsigned int chan, swz, i;
+ unsigned int chan
= 0
, swz, i;
int const_index = -1;
int temp_index = -1;
float const_value;