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 6467ed66ae5454a817d51009fb6603290b538a8d..4de31fc812deed0835e400da28203d99ed4b3336 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 b3ad0a09857562c5cf7145936de91583e9951d90..1737866166ea7e0d23a5000afc0132f08553ca10 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;