diff options
author | Chia-I Wu <[email protected]> | 2015-02-17 16:10:10 -0700 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-02-18 14:20:29 -0700 |
commit | 68573f57eeba1229a7963440428c3229c7ad7ff6 (patch) | |
tree | 4f9add745cdf4e0c0f3bc4e7c1d694991fec5e23 /src/gallium/drivers/ilo/ilo_layout.h | |
parent | b290330e3b78405424a907cf6e82cef531c71c50 (diff) |
ilo: fix compiler warnings
Fix -Wmaybe-uninitialized warnings. The change to
ilo_blit_resolve_slices_for_hiz() is a potential bug fix.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_layout.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_layout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_layout.h b/src/gallium/drivers/ilo/ilo_layout.h index 9aa2ae90b75..54ba2d8fc4b 100644 --- a/src/gallium/drivers/ilo/ilo_layout.h +++ b/src/gallium/drivers/ilo/ilo_layout.h @@ -282,6 +282,8 @@ ilo_layout_get_slice_pos(const struct ilo_layout *layout, } default: assert(!"unknown layout walk type"); + *x = 0; + *y = 0; break; } |