mesa/src/amd
Timur Kristóf 0746b98f4a ac/nir: Properly handle when mesh API workgroup size is smaller than HW.
The problem is that the real workgroup launched on NGG HW
can be larger than the size specified by the API, and the
extra waves need to keep up with barriers in the API waves.

There are 2 different cases:

1. The whole API workgroup fits in a single wave.
   We can shrink the barriers to subgroup scope and
   don't need to insert any extra ones.

2. The API workgroup occupies multiple waves, but not
   all. In this case, we emit code that consumes every
   barrier on the extra waves.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15034>
2022-02-25 06:31:33 +00:00
..
addrlib amd/addrlib: Use get_supported_arguments to get compiler args. 2021-11-24 07:03:54 +00:00
ci ci: Allow disabling the whole of the Collabora farm 2022-02-24 07:33:45 +01:00
common ac/nir: Properly handle when mesh API workgroup size is smaller than HW. 2022-02-25 06:31:33 +00:00
compiler aco: Fix multiview view index for mesh shaders. 2022-02-25 06:31:33 +00:00
drm-shim r300/r600: Add drm-shim support. 2022-02-02 00:59:08 +00:00
llvm ac/llvm: replace structured by vindex != NULL in ac_build_buffer_store_common 2022-02-22 11:41:04 +00:00
registers amd: remove the _UMD suffix from register definitions 2022-02-22 11:41:04 +00:00
vulkan radv: Better exclude special MS outputs from driver location assignment. 2022-02-25 06:31:33 +00:00
.clang-format radv, aco: Add u_foreach_bit to .clang-format. 2022-02-22 14:57:29 +00:00
meson.build r300/r600: Add drm-shim support. 2022-02-02 00:59:08 +00:00