commit | d3faac7a155969722cd5c1e7806c141762c39757 | [log] [tgz] |
---|---|---|
author | Jesse Natalie <jenatali@microsoft.com> | Fri Aug 21 10:40:45 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Aug 21 22:07:05 2020 +0000 |
tree | f3aaae6cd1bd4df53ee085c160a0e4aee9abeeeb | |
parent | 2e1df6a17ff82c4a456caa8be4bfae1fac009b6a [diff] |
nir: Add options to nir_lower_compute_system_values to control compute ID base lowering If no options are provided, existing intrinsics are used. If the lowering pass indicates there should be offsets used for global invocation ID or work group ID, then those instructions are lowered to include the offset. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5891>