summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300/compiler')
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_inline_literals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/compiler/radeon_inline_literals.c b/src/gallium/drivers/r300/compiler/radeon_inline_literals.c
index 568a3d60e14..54f6d677026 100644
--- a/src/gallium/drivers/r300/compiler/radeon_inline_literals.c
+++ b/src/gallium/drivers/r300/compiler/radeon_inline_literals.c
@@ -71,7 +71,7 @@ void rc_inline_literals(struct radeon_compiler *c, void *user)
unsigned src_idx;
struct rc_constant * constant;
float float_value;
- unsigned char r300_float;
+ unsigned char r300_float = 0;
int ret;
/* XXX: Handle presub */