Revert "ac/nir/ngg: Follow intrinsic sources when analyzing before culling."

This reverts commit 411f69b9c5.

It broke tessellation in Unigine Heaven with radeonsi.

Fixes: 411f69b9c5 - ac/nir/ngg: Follow intrinsic sources when analyzing before culling.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24160>
(cherry picked from commit 043dcfad04)
This commit is contained in:
Marek Olšák 2023-07-12 23:09:16 -04:00 committed by Dylan Baker
parent b691951239
commit bcd8cbe9a5
2 changed files with 1 additions and 6 deletions

View file

@ -64,7 +64,7 @@
"description": "Revert \"ac/nir/ngg: Follow intrinsic sources when analyzing before culling.\"",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "411f69b9c5b884f6802758347e72a10ec5564df1",
"notes": null

View file

@ -1075,11 +1075,6 @@ analyze_shader_before_culling_walk(nir_ssa_def *ssa,
break;
}
const unsigned num_srcs = nir_intrinsic_infos[intrin->intrinsic].num_srcs;
for (unsigned i = 0; i < num_srcs; ++i) {
analyze_shader_before_culling_walk(intrin->src[i].ssa, flag, s);
}
break;
}
case nir_instr_type_alu: {