mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 12:40:41 +02:00
ac/llvm: remove redundant nir_lower_legacy_atomics
Now both radeonsi and radv call it in driver. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23018>
This commit is contained in:
parent
4fb3133cdf
commit
c1cb168888
1 changed files with 0 additions and 5 deletions
|
|
@ -4698,11 +4698,6 @@ bool ac_nir_translate(struct ac_llvm_context *ac, struct ac_shader_abi *abi,
|
|||
struct ac_nir_context ctx = {0};
|
||||
struct nir_function *func;
|
||||
|
||||
/* Temporary stop-gap until legacy atomics are removed. This happens here
|
||||
* instead of the driver since it's needed by both radeonsi and radv.
|
||||
*/
|
||||
NIR_PASS_V(nir, nir_lower_legacy_atomics);
|
||||
|
||||
ctx.ac = *ac;
|
||||
ctx.abi = abi;
|
||||
ctx.args = args;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue