From: Samuel Pitoiset Date: Thu, 8 Feb 2018 13:56:44 +0000 (+0100) Subject: ac/nir: remove set but unused export_mask X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3cfd6b8057d22e20fbc7629f4574a93338d2681;p=mesa.git ac/nir: remove set but unused export_mask Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 9aa439a4cab..aa7503136ce 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -6019,7 +6019,6 @@ handle_vs_outputs_post(struct nir_to_llvm_context *ctx, outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] = param_count; param_count++; } else if (i >= VARYING_SLOT_VAR0) { - outinfo->export_mask |= 1u << (i - VARYING_SLOT_VAR0); target = V_008DFC_SQ_EXP_PARAM + param_count; outinfo->vs_output_param_offset[i] = param_count; param_count++; diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h index 023200ace81..9332531ce33 100644 --- a/src/amd/common/ac_nir_to_llvm.h +++ b/src/amd/common/ac_nir_to_llvm.h @@ -150,7 +150,6 @@ struct ac_vs_output_info { bool writes_layer; bool writes_viewport_index; bool export_prim_id; - uint32_t export_mask; unsigned pos_exports; };