mesa/src/asahi/lib
Asahi Lina 494399c65c asahi: Implement scratch allocation
Implement our helper program to map scratch blocks into stack memory,
and the driver side that allocates these blocks as necessary.

Alloction is grow-only right now. Drivers are expected to instantiate
scratch memory managers for each shader type (VS, FS, CS) and the same
buffers are reused across commands for each one, growing as necessary.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
2024-02-14 21:02:29 +00:00
..
shaders asahi: Implement scratch allocation 2024-02-14 21:02:29 +00:00
tests asahi: add missing tib alignment check 2024-01-10 08:44:38 -04:00
agx_bo.c asahi: Implement BO alignment 2024-01-10 08:44:37 -04:00
agx_bo.h asahi: Implement BO alignment 2024-01-10 08:44:37 -04:00
agx_border.c asahi: Implement custom border colours 2023-02-04 10:37:02 -05:00
agx_device.c agx: Add scaffolding to build the helper shader at device init 2024-02-14 21:02:29 +00:00
agx_device.h asahi: Implement scratch allocation 2024-02-14 21:02:29 +00:00
agx_formats.c asahi: fix dupe rgb65 formats 2023-12-09 12:08:39 -04:00
agx_formats.h asahi: Support L/A/I formats for texture buffers 2023-12-09 12:08:39 -04:00
agx_helpers.h asahi: Implement ARB_viewport_array 2023-12-09 12:08:39 -04:00
agx_iokit.h asahi/decode: Decode multiple macOS commands 2023-12-09 10:56:17 -04:00
agx_meta.c asahi: fix eMRT + background load interaction 2024-01-10 08:44:37 -04:00
agx_meta.h asahi,agx: Plumb libagx 2023-11-02 11:37:47 +00:00
agx_nir_format_helpers.h nir: Drop "SSA" from NIR language 2023-08-12 16:44:41 -04:00
agx_nir_lower_alpha.c asahi: return progress from passes 2024-01-12 01:13:03 +00:00
agx_nir_lower_gs.c asahi: rework meta shader infra 2024-02-14 21:02:29 +00:00
agx_nir_lower_gs.h asahi: rework meta shader infra 2024-02-14 21:02:29 +00:00
agx_nir_lower_ia.c asahi: Implement skeleton for tessellation 2024-02-14 21:02:28 +00:00
agx_nir_lower_msaa.c treewide: Use nir_before/after_impl for more elaborate cases 2023-08-30 19:30:58 +00:00
agx_nir_lower_sample_intrinsics.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
agx_nir_lower_tess.c asahi: Implement skeleton for tessellation 2024-02-14 21:02:28 +00:00
agx_nir_lower_tilebuffer.c asahi: rm layered bit from shader key 2024-01-10 08:44:38 -04:00
agx_nir_lower_vbo.c asahi: implement VBO robustness 2024-02-14 21:02:29 +00:00
agx_nir_lower_vbo.h asahi: rm agx_vbufs wrapper 2024-01-10 08:44:38 -04:00
agx_nir_predicate_layer_id.c asahi: return progress from passes 2024-01-12 01:13:03 +00:00
agx_ppp.h asahi: add XML for multiple viewports 2023-12-09 12:08:39 -04:00
agx_scratch.c asahi: Implement scratch allocation 2024-02-14 21:02:29 +00:00
agx_scratch.h asahi: Implement scratch allocation 2024-02-14 21:02:29 +00:00
agx_tilebuffer.c asahi: add missing tib alignment check 2024-01-10 08:44:38 -04:00
agx_tilebuffer.h asahi: return progress from passes 2024-01-12 01:13:03 +00:00
agx_usc.h agx: Fix bogus assert 2023-07-20 15:33:28 +00:00
cmdbuf.xml asahi: cmdbuf: Fix scratch bucket offset/size 2024-02-14 21:02:29 +00:00
decode.c asahi: decode uniform_high records 2024-02-14 21:02:29 +00:00
decode.h asahi: Add a shared library interface for decode 2023-07-20 15:33:28 +00:00
dyld_interpose.h asahi: Clang-format the subtree 2022-12-27 22:46:29 +00:00
gen_pack.py asahi,panfrost: Use IS_POT_NONZERO to replace util_is_power_of_two_nonzero for different size 2024-01-11 16:45:57 +00:00
meson.build agx: Add scaffolding to build the helper shader at device init 2024-02-14 21:02:29 +00:00
pool.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
pool.h asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
wrap.c asahi/decode: Decode multiple macOS commands 2023-12-09 10:56:17 -04:00