diff options
author | Chia-I Wu <[email protected]> | 2014-01-06 23:32:32 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-01-08 18:11:35 +0800 |
commit | 546416d49597c4879d045707d5587317e77e160c (patch) | |
tree | bf0c5b22a2b2657cc010899e35538b6edda385ac /src/gallium/drivers/ilo/ilo_resource.h | |
parent | e372819589c2a66620e63a2cd11582c6ce5fb8f0 (diff) |
ilo: add support for HiZ allocation
Add tex_create_hiz() to create HiZ bo. It is not really called yet.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_resource.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h index fd36242d798..1f82c9fab68 100644 --- a/src/gallium/drivers/ilo/ilo_resource.h +++ b/src/gallium/drivers/ilo/ilo_resource.h @@ -80,6 +80,11 @@ struct ilo_texture { } *slice_offsets[PIPE_MAX_TEXTURE_LEVELS]; struct ilo_texture *separate_s8; + + struct { + struct intel_bo *bo; + int bo_stride; + } hiz; }; static inline struct ilo_buffer * |