radv/rt: fix LDS size calculation with LLVM for inlined stages

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37577>
This commit is contained in:
Daniel Schürmann
2025-10-06 08:46:13 +02:00
committed by Marge Bot
parent 282e8285f1
commit 216d14fb65
+1
View File
@@ -433,6 +433,7 @@ radv_rt_nir_to_asm(struct radv_device *device, struct vk_pipeline_cache *cache,
radv_optimize_nir(temp_stage.nir, stage->key.optimisations_disabled);
radv_postprocess_nir(device, NULL, &temp_stage);
stage->info.nir_shared_size = MAX2(stage->info.nir_shared_size, temp_stage.info.nir_shared_size);
if (stage_info)
radv_gather_unused_args(stage_info, shaders[i]);