diff options
author | Chia-I Wu <[email protected]> | 2014-09-30 15:18:09 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-30 16:41:31 +0800 |
commit | 2b4c8ffc30c097cb89b2e76e64a764eb258d5491 (patch) | |
tree | 8d9c72417ab5482de53b6875f1aa16da23ff6317 /src/gallium/drivers/ilo/ilo_state.h | |
parent | 343b014b57ecc5431477e090100e6a26edbda540 (diff) |
ilo: precalculate aligned depth buffer size
To replace the hacky zs_align_surface().
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.h b/src/gallium/drivers/ilo/ilo_state.h index d62c00a2790..7f68118d4b6 100644 --- a/src/gallium/drivers/ilo/ilo_state.h +++ b/src/gallium/drivers/ilo/ilo_state.h @@ -335,6 +335,8 @@ struct ilo_surface_cso { struct ilo_view_surface rt; struct ilo_zs_surface { uint32_t payload[10]; + uint32_t dw_aligned_8x4; + struct intel_bo *bo; struct intel_bo *hiz_bo; struct intel_bo *separate_s8_bo; |