mesa/src/imagination
Matt Coster 3068f046bc pvr: Check depth/stencil attachment is tile-aligned
The hardware requires depth/stencil attachments to be size-aligned to
the zls tile size (as defined by rogue_get_zls_tile_size_xy()).

In practice however, this is a tiny edge case. The restriction only
applies during some operations, and any attachment larger than the tile
size will be twiddled and over-allocated into alignment beforehand.

This commit also adds the mentioned rogue_get_zls_tile_size_xy()
function. These values differ from the regular tile_size_{x,y} feature
values in some cases. Instead of including them as features as well, we
compute them directly.

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20160>
2022-12-08 14:53:13 +00:00
..
common pvr: debug: Add option to zero-alloc all buffer objects 2022-12-01 15:05:59 +00:00
csbgen pvr: csbgen: Remove TEXTURE_WRAP_VARYING-dependent fields 2022-11-25 16:42:55 +00:00
include pvr: Check depth/stencil attachment is tile-aligned 2022-12-08 14:53:13 +00:00
rogue nir: Drop infer_non_readable option for nir_opt_access() 2022-11-02 03:42:04 +00:00
vulkan pvr: Check depth/stencil attachment is tile-aligned 2022-12-08 14:53:13 +00:00
.clang-format pvr: debug: Add option to track pvr_bo allocations 2022-11-25 16:42:55 +00:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build