ac/nir: remove set but unused export_mask
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 8 Feb 2018 13:56:44 +0000 (14:56 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 8 Feb 2018 21:14:24 +0000 (22:14 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h

index 9aa439a4caba5c077722ef0a759b2750f23933bb..aa7503136ce5346eb5be09a25bdea0f7f6cb88d8 100644 (file)
@@ -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++;
index 023200ace81ea99df1d7dd0877ecf66a2ac32d31..9332531ce338dd878642cc65326dc14d42711b18 100644 (file)
@@ -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;
 };