mesa/src
Alyssa Rosenzweig 274d0d1c82 asahi: Add texture/image indexing lowering pass
Both textures and images share a unified indexing scheme in AGX. When binding
tables are used, they can be mapped to texture state registers. Otherwise, there
is bindless access available.

It would be nice to map OpenGL's binding table based textures and images to AGX
texture state registers 1:1. The problem is that OpenGL allows more combined
textures and images than we necessarily have texture state registers. So, we use
as many texture state registers as we can, and then we fallback on an internal
bindless scheme mapping an extended binding table.

Add and use a lowering pass to map all of the API-level texture/image indices to
either texture state registers or bindless handles as required.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
2023-07-20 15:33:27 +00:00
..
amd radv/meta_buffer: Rename size_minus16 to max_offset 2023-07-20 07:43:16 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi ail: Page-align layers for writable images 2023-07-20 15:33:27 +00:00
broadcom ci: move broadcom files rules to src/broadcom/ci/gitlab-ci.yml 2023-07-18 23:07:52 +00:00
c11 treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
compiler nir: Use instructions_pass() for nir_fixup_deref_modes() 2023-07-19 20:15:12 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl egl/wayland: wait for compositor to release shm buffers 2023-07-19 15:11:46 +00:00
etnaviv ci: move etnaviv files rules to src/etnaviv/ci/gitlab-ci.yml 2023-07-18 23:07:51 +00:00
freedreno ci/a530: switch a few tests to flakes to unblock CI 2023-07-20 09:46:21 +00:00
gallium asahi: Add texture/image indexing lowering pass 2023-07-20 15:33:27 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: Assign unique serial number to GLXBadFBConfig error 2023-07-15 03:27:17 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Fix writing query availability write out 2023-07-19 12:22:30 +00:00
imgui
intel intel/compiler: use shader source hash in shader dump code 2023-07-20 09:08:08 +00:00
loader dri3: only invalidate drawables on geometry change if geometry has changed 2023-06-15 12:22:24 +00:00
mapi mapi: Remove dead struct _glapi_function in glapi/glapi_getproc.c 2023-06-29 01:36:09 +00:00
mesa mesa: propagate shader source sha1 from gl_shader to nir_shader 2023-07-20 09:08:08 +00:00
microsoft ci: move microsoft files rules to src/microsoft/ci/gitlab-ci.yml 2023-07-18 23:07:52 +00:00
nouveau nv50/ir: Remove SpillSlot 2023-07-19 11:47:10 +00:00
panfrost ci/panfrost: introduce OpenGL testing with Mali-G57 MP5 on Asurada chromebook 2023-07-20 01:25:34 +00:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util util/u_queue: always enable UTIL_QUEUE_INIT_SCALE_THREADS, remove the flag 2023-07-18 11:11:12 -04:00
virtio virgl: Add vp9 picture desc 2023-07-19 07:06:38 +00:00
vulkan vulkan: Add helpers for blend enum translation 2023-07-13 21:03:32 +00:00
.clang-format clang-format: add wayland foreach macros 2023-07-07 23:00:06 +00:00
meson.build lavapipe: Include llvmpipe 2023-06-30 12:56:35 +00:00