mesa/src/asahi/lib
Alyssa Rosenzweig e754e54f88 nir: model AGX explicit coordinate intrinsics
I don't know what Apple calls these, so we're using the name "explicit
coordinates".

AGX has instructions for loading/stores register <---> tilebuffer ---> storage
images. Usually these are used in the fragment shader and end-of-tile shader to
implement colour attachments, with implicitly specified coordinates based on the
shader stage. However they can also be used in compute shaders with explicitly
specified coordinates ("imageblocks" in Apple parlance). Model this in NIR.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30633>
2024-08-12 18:46:31 -04:00
..
shaders libagx: add drawIndirectCount clone&patch kernel 2024-08-12 18:46:31 -04:00
tests asahi: add missing tib alignment check 2024-01-10 08:44:38 -04:00
agx_bg_eot.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
agx_bg_eot.h asahi: stop fixing up USC addresses 2024-08-12 18:36:26 -04:00
agx_bo.c asahi: always pass align parameter for BOs 2024-08-12 18:36:26 -04:00
agx_bo.h asahi: introduce agx_va data structure 2024-08-12 18:45:57 -04:00
agx_border.c asahi: Implement custom border colours 2023-02-04 10:37:02 -05:00
agx_device.c asahi,hk: generalize bo_bind hook 2024-08-12 18:45:58 -04:00
agx_device.h asahi,hk: generalize bo_bind hook 2024-08-12 18:45:58 -04:00
agx_device_virtio.c asahi,hk: generalize bo_bind hook 2024-08-12 18:45:58 -04:00
agx_device_virtio.h asahi: add broken bits of unstable Linux UAPI 2024-06-14 15:44:30 +00:00
agx_formats.c asahi: add missing rgba4 format 2024-05-14 04:57:26 +00:00
agx_formats.h asahi: clean up format table renderability 2024-02-14 21:02:32 +00:00
agx_helpers.h agx: exploit soft fault info 2024-08-12 18:36:26 -04:00
agx_iokit.h asahi/lib: use #pragma once 2024-02-14 21:02:32 +00:00
agx_linker.c asahi: introduce agx_va data structure 2024-08-12 18:45:57 -04:00
agx_linker.h asahi: implement rba2 semantics for vbo 2024-06-16 12:15:22 -04:00
agx_nir_format_helpers.h asahi/lib: use #pragma once 2024-02-14 21:02:32 +00:00
agx_nir_lower_alpha.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
agx_nir_lower_gs.c libagx: add drawIndirectCount clone&patch kernel 2024-08-12 18:46:31 -04:00
agx_nir_lower_gs.h libagx: add drawIndirectCount clone&patch kernel 2024-08-12 18:46:31 -04:00
agx_nir_lower_ia.c asahi: drop #includes 2024-07-26 18:40:47 +00:00
agx_nir_lower_msaa.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
agx_nir_lower_sample_intrinsics.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
agx_nir_lower_tess.c asahi: add TES->compute lowering 2024-07-26 18:40:47 +00:00
agx_nir_lower_texture.c agx: handle min_lod sources 2024-08-12 18:46:31 -04:00
agx_nir_lower_tilebuffer.c nir: model AGX explicit coordinate intrinsics 2024-08-12 18:46:31 -04:00
agx_nir_lower_uvs.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
agx_nir_lower_vbo.c asahi: optimize out vbo clamp with soft fault 2024-08-12 18:36:26 -04:00
agx_nir_lower_vbo.h asahi: implement rba2 semantics for vbo 2024-06-16 12:15:22 -04:00
agx_nir_passes.h asahi: add AGX_TEXTURE_FLAG_CLAMP_TO_0 flag 2024-06-07 16:57:03 +00:00
agx_nir_prolog_epilog.c asahi: don't count helper invs in pipeline stats query 2024-08-06 11:48:04 -04:00
agx_ppp.h asahi: split frag shader words 2024-05-16 13:25:56 -04:00
agx_scratch.c asahi: introduce agx_va data structure 2024-08-12 18:45:57 -04:00
agx_scratch.h asahi/lib: use #pragma once 2024-02-14 21:02:32 +00:00
agx_tilebuffer.c asahi: pack tilebuffer usc word ahead-of-time 2024-05-14 04:57:26 +00:00
agx_tilebuffer.h asahi: add flag controlling sample mask without MSAA 2024-06-07 16:57:03 +00:00
agx_usc.h asahi: don't allocate for USC words 2024-05-16 13:25:56 -04:00
agx_uvs.h asahi: extend varying linking for tri fan weirdness 2024-05-14 04:57:27 +00:00
agx_va.c asahi: introduce agx_va data structure 2024-08-12 18:45:57 -04:00
asahi_proto.h asahi: add broken bits of unstable Linux UAPI 2024-06-14 15:44:30 +00:00
decode.c asahi: introduce agx_va data structure 2024-08-12 18:45:57 -04:00
decode.h asahi: stop fixing up USC addresses 2024-08-12 18:36:26 -04:00
dyld_interpose.h asahi: Clang-format the subtree 2022-12-27 22:46:29 +00:00
meson.build libagx: add drawIndirectCount clone&patch kernel 2024-08-12 18:46:31 -04:00
pool.c asahi: introduce agx_va data structure 2024-08-12 18:45:57 -04:00
pool.h asahi: split out genxml/ directory 2024-02-14 21:02:32 +00:00
unstable_asahi_drm.h asahi: Update to UAPI 10011 2024-08-12 18:35:47 -04:00
wrap.c asahi: drop agx_bo::type 2024-08-12 18:36:26 -04:00