mesa/src
Faith Ekstrand 9f9cde04ec nir: Add a new load_input_attachment_coord intrinsic
This hoists all the annoyance of figuring out the current pixel's input
attachment coordinates to the driver.  The pass still deals with all the
annoyance of turning an image instruciton into a texture instruction but
it gives the driver more control over the position.  For most drivers,
this will be something like ivec3(int(gl_FragCoord.xy), gl_Layer) or
similar, some drivers need something more nuanced.  Turnip, for
instance, needs unscaled coordinates for some attachments and NVK
doesn't really want gl_Layer or gl_ViewIndex for the layer.  It's better
to just have a new system value that drivers can make what they want.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35551>
2025-06-19 02:14:04 +00:00
..
amd vulkan/treewide: add and use common Android HMI hal implementation 2025-06-18 22:23:53 +00:00
android_stub
asahi nir: Split nir_load_frag_coord_zw to separate z/w intrinsics. 2025-06-18 23:11:36 +00:00
broadcom vulkan/treewide: add and use common Android HMI hal implementation 2025-06-18 22:23:53 +00:00
c11
compiler nir: Add a new load_input_attachment_coord intrinsic 2025-06-19 02:14:04 +00:00
drm-shim
egl egl/dri/wayland: Fix memory leak in wayland buffer handling 2025-06-11 17:09:47 +00:00
etnaviv etnaviv: isa: Add texldgpcf instruction 2025-06-18 08:58:40 +00:00
freedreno tu: Fixes missing sse2 flags 2025-06-18 17:13:37 -07:00
gallium intel/elk: Lower load_frag_coord to load_{pixel_coord,frag_coord_z/w} in NIR. 2025-06-18 23:11:39 +00:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream vulkan/treewide: add and use common Android HMI hal implementation 2025-06-18 22:23:53 +00:00
glx glx,egl: drop libpipe_loader_dynamic dependency 2025-05-27 07:53:20 +00:00
gtest
imagination vulkan: Enable PresentWait2 on many physical devices 2025-06-13 15:52:02 +00:00
imgui
intel intel/elk: Move wpos_w setup right into nir_intrinsic_load_frag_w. 2025-06-18 23:11:43 +00:00
loader loader/wayland: Move acquisition time tracking into perfetto flows 2025-05-26 16:13:25 -05:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-23 20:18:25 +00:00
mesa mesa: get correct src address for transferOps 2025-06-12 23:33:27 +00:00
microsoft microsoft/compiler: Clamp bias to DXIL valid range 2025-06-18 22:07:19 +00:00
nouveau vulkan/treewide: add and use common Android HMI hal implementation 2025-06-18 22:23:53 +00:00
panfrost nir: Split nir_load_frag_coord_zw to separate z/w intrinsics. 2025-06-18 23:11:36 +00:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util mesa: import mesa3d_util 2025-06-17 22:28:54 +00:00
virtio vulkan/treewide: add and use common Android HMI hal implementation 2025-06-18 22:23:53 +00:00
vulkan vulkan/treewide: add and use common Android HMI hal implementation 2025-06-18 22:23:53 +00:00
x11
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build gfxstream: proper depedendences in non virtgpu-kumquat case 2025-06-18 15:16:32 +00:00