radv: lower streamout in NIR

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18898>
This commit is contained in:
Rhys Perry
2022-09-28 17:17:35 +01:00
committed by Marge Bot
parent 19d0403594
commit 12becb8839
3 changed files with 1 additions and 10 deletions

View File

@@ -3850,7 +3850,7 @@ radv_postprocess_nir(struct radv_pipeline *pipeline,
if (stage->stage == last_vgt_api_stage && stage->stage != MESA_SHADER_GEOMETRY && !lowered_ngg)
NIR_PASS_V(stage->nir, ac_nir_lower_legacy_vs,
stage->info.outinfo.export_prim_id ? VARYING_SLOT_PRIMITIVE_ID : -1, true);
stage->info.outinfo.export_prim_id ? VARYING_SLOT_PRIMITIVE_ID : -1, false);
NIR_PASS(_, stage->nir, nir_opt_idiv_const, 8);