ac: remove ac_shader_variant_info::fs::output_mask
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 15 Jan 2018 10:46:52 +0000 (11:46 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 15 Jan 2018 10:48:42 +0000 (11:48 +0100)
Unused.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h

index 6467ed6..4de31fc 100644 (file)
@@ -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
index b3ad0a0..1737866 100644 (file)
@@ -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;