mesa/src
Timur Kristóf d20049b430 ac/nir/ngg_mesh: Lower num_subgroups to constant
Mesh shader workgroups always have the same amount of subgroups.

When the API workgroup size is the same as the real workgroup
size, this is a small optimization (using a constant instead of
a shader arg).

When the API workgroup size is smaller than the real workgroup
size (eg. when the number of output vertices or primitves is
greater than the API workgroup size on RDNA 2), this fixes a
potential bug because num_subgroups would return the "real"
workgroup size instead of the API one.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37947>
2025-10-20 14:05:40 +00:00
..
amd ac/nir/ngg_mesh: Lower num_subgroups to constant 2025-10-20 14:05:40 +00:00
android_stub
asahi poly: Migrate AGX's GS/TESS emulation to common code 2025-10-16 19:25:35 +00:00
broadcom treewide: don't check before free 2025-10-15 23:01:33 +00:00
c11
compiler nir: mark fneg distribution through fadd/ffma as nsz 2025-10-17 08:58:59 +00:00
drm-shim drm-shim: fix with asan 2025-09-03 11:47:00 +00:00
egl treewide: use BITSET_CALLOC 2025-10-09 12:29:55 +00:00
etnaviv etnaviv/ci: Add per-gpu GLES2 extension lists 2025-10-07 19:34:29 +00:00
freedreno Uprev Piglit to 2ac68e5fb59215ecf89049ec15f3f7494b51a589 2025-10-20 09:57:30 +00:00
gallium p_video_codec::encode_bitstream_sliced: Add last_slice_completion_fence for PIPE_VIDEO_SLICE_MODE_AUTO 2025-10-20 13:37:16 +00:00
gbm egl,glx: allow OpenGL with old libx11, but disable glthread if it's unsafe 2025-08-21 02:05:26 +00:00
getopt
gfxstream gfxstream: delete magma-over-gfxstream 2025-10-08 15:42:13 +00:00
glx glx: provide glx.pc 2025-10-14 20:53:10 +00:00
gtest
imagination pvr: Advertise VK_KHR_storage_buffer_storage_class 2025-10-17 08:11:11 +00:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel anv: Add support for low latency hint on Xe KMD 2025-10-16 20:23:21 +00:00
loader meson: use the wayland module 2025-09-22 16:35:26 +00:00
mesa mesa,gallium: not touch TS when internal draws 2025-10-17 03:52:19 +00:00
microsoft microsoft/compiler: Respect write masks when lowering unaligned loads and stores 2025-10-10 19:53:15 +00:00
nouveau nvk: Expose cached and coherent as separate types on Tegra 2025-10-15 23:03:19 -04:00
panfrost panfrost/panvk: Reduce fills from LCRA 2025-10-20 09:07:31 +00:00
poly poly: Migrate AGX's GS/TESS emulation to common code 2025-10-16 19:25:35 +00:00
tool clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
util anv: Add support for low latency hint on Xe KMD 2025-10-16 20:23:21 +00:00
virtio treewide: don't check before free 2025-10-15 23:01:33 +00:00
vulkan wsi: Fix the flagging of dma_buf_sync_file for the amdgpu workaround. 2025-10-20 03:58:47 +00:00
x11 meson: add missing x11 dependency on libloader_x11 2025-08-08 21:45:59 +00:00
.clang-format poly: Migrate AGX's GS/TESS emulation to common code 2025-10-16 19:25:35 +00:00
meson.build poly: Migrate AGX's GS/TESS emulation to common code 2025-10-16 19:25:35 +00:00