summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_blit.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-05-02 15:36:59 +0800
committerChia-I Wu <[email protected]>2015-05-02 22:14:07 +0800
commit9b705ec32d8cd527ab8d6ebc89f6550d52908c62 (patch)
treeec891e72a0b64be15fc4ade855f36669c29bff5b /src/gallium/drivers/ilo/ilo_blit.h
parent430594c34ff594b5bf47417b7240a62fc93509e9 (diff)
ilo: add ilo_image_can_enable_aux()
It replaces ilo_texture_can_enable_hiz().
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blit.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_blit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blit.h b/src/gallium/drivers/ilo/ilo_blit.h
index fed8776e4be..da0bfe9c4c9 100644
--- a/src/gallium/drivers/ilo/ilo_blit.h
+++ b/src/gallium/drivers/ilo/ilo_blit.h
@@ -58,10 +58,10 @@ ilo_blit_resolve_slices(struct ilo_context *ilo,
* As it is only used to resolve HiZ right now, return early when there is
* no HiZ.
*/
- if (!ilo_texture_can_enable_hiz(tex, level, first_slice, num_slices))
+ if (!ilo_image_can_enable_aux(&tex->image, level))
return;
- if (ilo_texture_can_enable_hiz(tex, level, first_slice, num_slices)) {
+ if (ilo_image_can_enable_aux(&tex->image, level)) {
ilo_blit_resolve_slices_for_hiz(ilo, res, level,
first_slice, num_slices, resolve_flags);
}