summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-02-08 14:56:44 +0100
committerSamuel Pitoiset <[email protected]>2018-02-08 22:14:24 +0100
commite3cfd6b8057d22e20fbc7629f4574a93338d2681 (patch)
treeb2020a9fc794b453100118f511ce7bb9eac30b92 /src
parent724136d5901e887d38079e28acf07f1348d123c5 (diff)
ac/nir: remove set but unused export_mask
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/common/ac_nir_to_llvm.c1
-rw-r--r--src/amd/common/ac_nir_to_llvm.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 9aa439a4cab..aa7503136ce 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -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++;
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index 023200ace81..9332531ce33 100644
--- a/src/amd/common/ac_nir_to_llvm.h
+++ b/src/amd/common/ac_nir_to_llvm.h
@@ -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;
};