From 9bd89af1bc3b40f341eb14f65dec5340779a02f0 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 5 May 2022 12:11:53 +1000 Subject: aco/info: reduce the gs ring info to what is needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only one member was being used. Reviewed-by: Timur Kristóf Part-of: --- src/amd/compiler/aco_instruction_selection_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/compiler/aco_instruction_selection_setup.cpp') diff --git a/src/amd/compiler/aco_instruction_selection_setup.cpp b/src/amd/compiler/aco_instruction_selection_setup.cpp index dab56f32989..f6cf057a8b1 100644 --- a/src/amd/compiler/aco_instruction_selection_setup.cpp +++ b/src/amd/compiler/aco_instruction_selection_setup.cpp @@ -289,7 +289,7 @@ setup_gs_variables(isel_context* ctx, nir_shader* nir) { if (ctx->stage == vertex_geometry_gs || ctx->stage == tess_eval_geometry_gs) { ctx->program->config->lds_size = - ctx->program->info.gs_ring_info.lds_size; /* Already in units of the alloc granularity */ + ctx->program->info.gfx9_gs_ring_lds_size; /* Already in units of the alloc granularity */ } else if (ctx->stage == vertex_geometry_ngg || ctx->stage == tess_eval_geometry_ngg) { setup_vs_output_info(ctx, nir, &ctx->program->info.vs.outinfo); -- cgit v1.2.1