mesa/src
Faith Ekstrand c37bcd43fc nvk: Claim shaderUniformBufferArrayNonUniformIndexingNative
"Native" is relative for UBOs.  On the one hand, we don't loop in the
shader for non-uniform UBO access ever.  On the other hand, uniformity
does affect UBOs on Turing since we can only use bindless UBOs if the
handle (and therefore the loaded descriptor) are uniform.  But if it's
non-uniform, we fall back to ld.constant which is pretty fast.  On
Volta and earlier where we don't have bindless UBOs, we use ld.uniform
or ld.ci which are just as fast uniform as non.  On all hardware,
non-constant UBO indexing prevents cbuf promotion so that's always
slower no matter what.

The moral of the story is that "native" non-uniform for UBOs is a
nonsense anyway and we should just set NonUniformIndexingNative so we
don't scare apps into doing something silly.  The proprietary driver
claims native non-uniform UBOs as well.

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35268>
2025-06-02 16:04:05 +00:00
..
amd aco/hard_clauses: simplify and complete get_type() 2025-06-02 10:28:10 +00:00
android_stub
asahi asahi: advertise ASTC HDR formats 2025-05-28 14:49:06 +00:00
broadcom v3dv: don't use deprecated NIR_PASS_V macro 2025-05-30 14:24:24 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir_gather_output_deps: Fix incorrect enum in switch 2025-05-30 17:04:18 +00:00
drm-shim
egl egl: Fixes for eglQueryContext and RESET_NOTIFICATION_STRATEGY 2025-06-02 04:36:48 +00:00
etnaviv Uprev Piglit to c32e5cc717e846ffa43408174181dc16a31d3df0 2025-05-26 10:19:29 +00:00
freedreno tu,freedreno: Add pkt_field_{get,set} helper macro 2025-05-29 10:54:28 +01:00
gallium Uprev Piglit to 685ea49b47ae52560975cfcdb0ea0d4d27fead16 2025-06-02 15:39:02 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: fix missing include 2025-05-22 20:56:58 +00:00
glx glx,egl: drop libpipe_loader_dynamic dependency 2025-05-27 07:53:20 +00:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel intel/brw: Use correct instruction for value change check when coalescing 2025-06-01 17:37:10 +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 formats: Cast enum to int before shifting 2025-05-30 17:04:18 +00:00
microsoft microsoft/compiler: Cast one enum to another instead of to int to resolve warning 2025-05-30 17:04:18 +00:00
nouveau nvk: Claim shaderUniformBufferArrayNonUniformIndexingNative 2025-06-02 16:04:05 +00:00
panfrost ci/panfrost: Reuse file list YAML anchors 2025-05-30 21:05:45 +00:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util util/format: add util_format_is_astc_hdr()-helper 2025-05-28 14:49:06 +00:00
virtio venus: properly handle implicit fence from the compositor 2025-05-27 02:40:44 +00:00
vulkan vulkan/wsi: split cmd record for img2buf blit and img2img blit 2025-05-29 01:20:27 +00:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00