diff options
author | Chia-I Wu <[email protected]> | 2015-05-02 15:36:59 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-05-02 22:14:07 +0800 |
commit | 9b705ec32d8cd527ab8d6ebc89f6550d52908c62 (patch) | |
tree | ec891e72a0b64be15fc4ade855f36669c29bff5b /src/gallium/drivers/ilo/ilo_blit.c | |
parent | 430594c34ff594b5bf47417b7240a62fc93509e9 (diff) |
ilo: add ilo_image_can_enable_aux()
It replaces ilo_texture_can_enable_hiz().
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blit.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blit.c b/src/gallium/drivers/ilo/ilo_blit.c index 42072c2fed0..f88f1e8dc92 100644 --- a/src/gallium/drivers/ilo/ilo_blit.c +++ b/src/gallium/drivers/ilo/ilo_blit.c @@ -166,7 +166,7 @@ ilo_blit_resolve_slices_for_hiz(struct ilo_context *ilo, unsigned i; assert(tex->base.target != PIPE_BUFFER && - ilo_texture_can_enable_hiz(tex, level, first_slice, num_slices)); + ilo_image_can_enable_aux(&tex->image, level)); if (resolve_flags & ILO_TEXTURE_RENDER_WRITE) { /* |