| commit | e639cd768d8da747ee6c3e33a69d0fbd22773a31 | [log] [tgz] |
|---|---|---|
| author | Timothy Arceri <tarceri@itsqueeze.com> | Mon Jan 27 12:19:16 2025 +1100 |
| committer | Marge Bot <emma+marge@anholt.net> | Thu Jan 30 06:06:32 2025 +0000 |
| tree | e2e713c50f413e4575addefd7d39b3e2c1d79d00 | |
| parent | 9102d1775dfcbc1c6b11f5479738961a1035a4d9 [diff] |
glsl: fix return value for subgroupBallot()
The original code attempted to create a second instance of the intrinsic
with only a different return value which isn't possible since the params
(in this case 0 params) are the same. To fix this were need to create
two differently named intrinsics.
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Fixes: a496d84ac88e ("glsl: add KHR_shader_subgroup_ballot builtin functions")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12510
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33231>