diff options
author | Marek Olšák <[email protected]> | 2014-04-04 19:36:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-09 01:45:16 +0200 |
commit | 5f7faff61bc3ebe80f262fac6f58225d8005631b (patch) | |
tree | d8b3d6e2238efd6fc6f9cb21c7485d03d0afa87d /src/gallium/drivers/radeonsi/si_state.c | |
parent | 1a92637c68b84fa30e90f442e8a3d32c450cafcc (diff) |
gallium/radeon: fix warnings
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 6c345ff3a44..d81354ebe8d 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1705,7 +1705,7 @@ static void si_init_depth_surface(struct si_context *sctx, unsigned macro_aspect, tile_split, stile_split, bankh, bankw, nbanks, pipe_config; uint32_t z_info, s_info, db_depth_info; uint64_t z_offs, s_offs; - uint32_t db_htile_data_base, db_htile_surface, pa_su_poly_offset_db_fmt_cntl; + uint32_t db_htile_data_base, db_htile_surface, pa_su_poly_offset_db_fmt_cntl = 0; switch (sctx->framebuffer.state.zsbuf->texture->format) { case PIPE_FORMAT_S8_UINT_Z24_UNORM: |