summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-01-15 11:46:52 +0100
committerSamuel Pitoiset <[email protected]>2018-01-15 11:48:42 +0100
commitaebde47840c8ca1fbb32a66df49c2476893ad946 (patch)
treeb7324284c5ab5c380c05a28bdb4a211925ac4bc8
parent5d6470d26b267d522dd343740878bde46f21c446 (diff)
ac: remove ac_shader_variant_info::fs::output_mask
Unused. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/amd/common/ac_nir_to_llvm.c2
-rw-r--r--src/amd/common/ac_nir_to_llvm.h1
2 files changed, 0 insertions, 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;