mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
aco: remove unused isel_context::tcs_num_patches
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18278>
This commit is contained in:
parent
047738daa7
commit
df997cf47d
4 changed files with 0 additions and 6 deletions
|
|
@ -103,7 +103,6 @@ struct isel_context {
|
|||
|
||||
/* tessellation information */
|
||||
uint64_t tcs_temp_only_inputs;
|
||||
uint32_t tcs_num_patches;
|
||||
bool tcs_in_out_eq = false;
|
||||
|
||||
/* Fragment color output information */
|
||||
|
|
|
|||
|
|
@ -304,15 +304,12 @@ setup_tcs_info(isel_context* ctx, nir_shader* nir, nir_shader* vs)
|
|||
{
|
||||
ctx->tcs_in_out_eq = ctx->program->info.vs.tcs_in_out_eq;
|
||||
ctx->tcs_temp_only_inputs = ctx->program->info.vs.tcs_temp_only_input_mask;
|
||||
ctx->tcs_num_patches = ctx->program->info.num_tess_patches;
|
||||
ctx->program->config->lds_size = ctx->program->info.tcs.num_lds_blocks;
|
||||
}
|
||||
|
||||
void
|
||||
setup_tes_variables(isel_context* ctx, nir_shader* nir)
|
||||
{
|
||||
ctx->tcs_num_patches = ctx->program->info.num_tess_patches;
|
||||
|
||||
if (ctx->stage == tess_eval_vs || ctx->stage == tess_eval_ngg) {
|
||||
setup_vs_output_info(ctx, nir);
|
||||
|
||||
|
|
|
|||
|
|
@ -105,7 +105,6 @@ struct aco_shader_info {
|
|||
bool is_ngg;
|
||||
bool has_ngg_culling;
|
||||
bool has_ngg_early_prim_export;
|
||||
uint32_t num_tess_patches;
|
||||
unsigned workgroup_size;
|
||||
struct aco_vp_output_info outinfo;
|
||||
struct {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@ radv_aco_convert_shader_info(struct aco_shader_info *aco_info,
|
|||
ASSIGN_FIELD(is_ngg);
|
||||
ASSIGN_FIELD(has_ngg_culling);
|
||||
ASSIGN_FIELD(has_ngg_early_prim_export);
|
||||
ASSIGN_FIELD(num_tess_patches);
|
||||
ASSIGN_FIELD(workgroup_size);
|
||||
radv_aco_convert_shader_vp_info(&aco_info->outinfo, &radv->outinfo);
|
||||
ASSIGN_FIELD(vs.as_es);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue