summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-12-31 01:03:30 +0100
committerMarek Olšák <[email protected]>2015-01-01 14:42:32 +0100
commitb77eaafcdc1b9f050d44d46608e542a9e593da3e (patch)
treeeeae464ad070aa541522c3bb33337899cfccc565 /src/gallium/drivers/radeonsi
parentc633528cbac007a73a066f269b3c9a25daf1e21a (diff)
radeonsi: fix warnings
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c
index 922703445be..cb1ce5668a3 100644
--- a/src/gallium/drivers/radeonsi/si_descriptors.c
+++ b/src/gallium/drivers/radeonsi/si_descriptors.c
@@ -206,7 +206,7 @@ static void si_emit_descriptors(struct si_context *sctx,
{
struct radeon_winsys_cs *cs = sctx->b.rings.gfx.cs;
uint64_t va_base;
- int packet_start;
+ int packet_start = 0;
int packet_size = 0;
int last_index = desc->num_elements; /* point to a non-existing element */
unsigned dirty_mask = desc->dirty_mask;