mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
radv: only allocate a 32-bit value for the TC-compat range metadata
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
6baa453dd5
commit
a7b6a869a7
1 changed files with 2 additions and 2 deletions
|
|
@ -990,8 +990,8 @@ radv_image_alloc_htile(struct radv_image *image)
|
|||
* have to be fixed by updating ZRANGE_PRECISION when doing
|
||||
* fast depth clears to 0.0f.
|
||||
*/
|
||||
image->tc_compat_zrange_offset = image->clear_value_offset + 8;
|
||||
image->size = image->clear_value_offset + 16;
|
||||
image->tc_compat_zrange_offset = image->size;
|
||||
image->size = image->tc_compat_zrange_offset + 4;
|
||||
}
|
||||
image->alignment = align64(image->alignment, image->planes[0].surface.htile_alignment);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue