diff --git a/.pick_status.json b/.pick_status.json index dc84fa06b2a..cc3b37c2038 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -76,7 +76,7 @@ "description": "aco: Fix LDS statistics of tess control shaders.", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "cf89bdb9ba9c7a7ba39d142ee3c83e0379c2092a" }, diff --git a/src/amd/compiler/aco_instruction_selection_setup.cpp b/src/amd/compiler/aco_instruction_selection_setup.cpp index bb7dc657ab2..e4cdcaa80fe 100644 --- a/src/amd/compiler/aco_instruction_selection_setup.cpp +++ b/src/amd/compiler/aco_instruction_selection_setup.cpp @@ -490,8 +490,7 @@ setup_tcs_info(isel_context *ctx, nir_shader *nir, nir_shader *vs) ctx->args->shader_info->tcs.num_patches = ctx->tcs_num_patches; ctx->args->shader_info->tcs.num_lds_blocks = lds_size; - ctx->program->config->lds_size = (lds_size + ctx->program->lds_alloc_granule - 1) / - ctx->program->lds_alloc_granule; + ctx->program->config->lds_size = lds_size; /* Already in blocks of the encoding granule */ } void