mesa/src/panfrost/lib
Alyssa Rosenzweig d11945cd85 panfrost: Calculate header_size based on row_stride
The header size is the header stride times the number of rows in the header
(number of tiles of superblocks). We already calculate the header stride, so
eliminate the separate header size calculation.

Delete the old header size calculation. It has no notion of wide blocks, let
alone tiled AFBC headers.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16697>
2022-05-26 15:56:32 +00:00
..
genxml panfrost: Correct XML for TLS 2022-05-04 12:48:27 +00:00
tests panfrost: Add 3D texture layout unit test 2022-05-26 15:56:32 +00:00
.gitignore panfrost: Add panloader/ to .gitignore 2020-08-06 23:54:24 +00:00
meson.build panfrost: Unit test block size queries 2022-04-26 17:47:49 +00:00
pan_afbc.c panfrost: Calculate header_size based on row_stride 2022-05-26 15:56:32 +00:00
pan_attributes.c panfrost: Move panfrost_vertex/instance_id to per-gen 2021-07-12 23:12:29 +00:00
pan_blend.c panfrost: Copy blend constant into variant even when reusing it 2022-05-20 23:17:07 +00:00
pan_blend.h panfrost: Increase the limit for blend shader variants 2022-05-20 23:17:07 +00:00
pan_blitter.c panfrost: Move patched_s out of the pan_blitter_views struct 2022-05-20 23:17:07 +00:00
pan_blitter.h panfrost: Move genxml related files to a subdir 2021-09-30 10:30:19 +00:00
pan_bo.c panfrost: Remove BO mapping from import 2022-04-10 01:51:04 +00:00
pan_bo.h panfrost: Label all BOs in userspace 2021-05-18 19:19:01 +00:00
pan_clear.c panfrost: Move genxml related files to a subdir 2021-09-30 10:30:19 +00:00
pan_cs.c panfrost: Support tiled AFBC in stride helpers 2022-05-26 15:56:32 +00:00
pan_cs.h panfrost: Flip point coords in hardware 2022-05-02 09:56:25 -04:00
pan_device.h panfrost: Centralize our model list 2022-01-28 17:47:46 +00:00
pan_encoder.h panfrost: Add panfrost_make_resource_table helper 2022-04-07 15:11:04 +00:00
pan_format.c panfrost: Handle stencil texturing on Valhall 2022-04-07 15:11:04 +00:00
pan_format.h panfrost: Add Valhall compressed formats 2022-03-30 17:29:12 +00:00
pan_indirect_dispatch.c panfrost,panvk: Make fixed_sysval_ubo < 0 mean compiler-assigned 2022-05-12 10:53:15 +00:00
pan_indirect_dispatch.h panfrost: Move genxml related files to a subdir 2021-09-30 10:30:19 +00:00
pan_indirect_draw.c panfrost,panvk: Make fixed_sysval_ubo < 0 mean compiler-assigned 2022-05-12 10:53:15 +00:00
pan_indirect_draw.h panfrost: Move genxml related files to a subdir 2021-09-30 10:30:19 +00:00
pan_layout.c panfrost: Calculate header_size based on row_stride 2022-05-26 15:56:32 +00:00
pan_pool.h panfrost: Move genxml related files to a subdir 2021-09-30 10:30:19 +00:00
pan_props.c panfrost: Increase the maximum tiler heap size 2022-05-05 15:27:56 +00:00
pan_samples.c panfrost: Label all BOs in userspace 2021-05-18 19:19:01 +00:00
pan_scoreboard.h panfrost: Handle Valhall IDVS in job_uses_tiling 2022-03-30 17:29:12 +00:00
pan_scratch.c panfrost: Fix stack shift calculation 2020-11-13 20:49:06 +00:00
pan_shader.c panfrost,panvk: Make fixed_sysval_ubo < 0 mean compiler-assigned 2022-05-12 10:53:15 +00:00
pan_shader.h panfrost: Only flip point sprites for GL 2022-05-02 13:12:31 +00:00
pan_texture.c panfrost: Unify row stride and AFBC row stride 2022-05-03 14:20:15 +00:00
pan_texture.h panfrost: Calculate header_size based on row_stride 2022-05-26 15:56:32 +00:00
pan_tiler.c panfrost: Centralize our model list 2022-01-28 17:47:46 +00:00
pan_util.c panfrost: Centralize our model list 2022-01-28 17:47:46 +00:00
pan_util.h panfrost: Add PAN_MESA_DEBUG=dump option 2022-03-01 19:43:22 +00:00
wrap.h panfrost: Prepare pandecode to per-gen XML 2021-09-20 15:11:30 +02:00