mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 17:50:29 +01:00
DXIL doesn't have a "subgroup ID" or "num subgroups" construct, so add lowering to construct them. Subgroup ID is done using once-per-subgroup atomics on a workgroup-shared variable, and then broadcasting that (using read_first_invocation) to the other threads. Num subgroups is just a division with the workgroup size. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20777> |
||
|---|---|---|
| .. | ||
| ci | ||
| clc | ||
| compiler | ||
| spirv_to_dxil | ||
| vulkan | ||
| meson.build | ||