From aebde47840c8ca1fbb32a66df49c2476893ad946 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 15 Jan 2018 11:46:52 +0100 Subject: ac: remove ac_shader_variant_info::fs::output_mask Unused. Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/amd/common/ac_nir_to_llvm.c | 2 -- src/amd/common/ac_nir_to_llvm.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 6467ed66ae5..4de31fc812d 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -6424,8 +6424,6 @@ handle_fs_outputs_post(struct nir_to_llvm_context *ctx) si_export_mrt_color(ctx, NULL, V_008DFC_SQ_EXP_NULL, true, &color_args[0]); ac_build_export(&ctx->ac, &color_args[0]); } - - ctx->shader_info->fs.output_mask = index ? ((1ull << index) - 1) : 0; } static void diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h index b3ad0a09857..1737866166e 100644 --- a/src/amd/common/ac_nir_to_llvm.h +++ b/src/amd/common/ac_nir_to_llvm.h @@ -169,7 +169,6 @@ struct ac_shader_variant_info { struct { unsigned num_interp; uint32_t input_mask; - unsigned output_mask; uint32_t flat_shaded_mask; bool has_pcoord; bool can_discard; -- cgit v1.2.3