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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ struct aco_shader_info {
|
||||
} ms;
|
||||
struct radv_streamout_info so;
|
||||
|
||||
struct gfx9_gs_info gs_ring_info;
|
||||
uint32_t gfx9_gs_ring_lds_size;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -63,7 +63,7 @@ radv_aco_convert_shader_info(struct aco_shader_info *aco_info,
|
||||
ASSIGN_FIELD(cs.subgroup_size);
|
||||
ASSIGN_FIELD(ms.outinfo);
|
||||
ASSIGN_FIELD(so);
|
||||
ASSIGN_FIELD(gs_ring_info);
|
||||
aco_info->gfx9_gs_ring_lds_size = radv->gs_ring_info.lds_size;
|
||||
}
|
||||
#undef ASSIGN_FIELD
|
||||
#undef ASSIGN_FIELD_CP
|
||||
|
||||
Reference in New Issue
Block a user