summaryrefslogtreecommitdiff
path: root/src/amd/compiler/aco_instruction_selection_setup.cpp
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2022-05-05 12:11:53 +1000
committerMarge Bot <emma+marge@anholt.net>2022-05-11 19:07:11 +0000
commit9bd89af1bc3b40f341eb14f65dec5340779a02f0 (patch)
tree786512ca20a23e39d0055d29fc06721d9aa460b2 /src/amd/compiler/aco_instruction_selection_setup.cpp
parent87df607ff5e65040c3c681bc398889395b22f30a (diff)
downloadmesa-9bd89af1bc3b40f341eb14f65dec5340779a02f0.tar.gz
aco/info: reduce the gs ring info to what is needed.
Only one member was being used. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16342>
Diffstat (limited to 'src/amd/compiler/aco_instruction_selection_setup.cpp')
-rw-r--r--src/amd/compiler/aco_instruction_selection_setup.cpp2
1 files changed, 1 insertions, 1 deletions
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);