summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/common/ac_llvm_build.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index 9729756de4e..209dfdd656a 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -1317,7 +1317,6 @@ void ac_eliminate_const_vs_outputs(struct ac_llvm_context *ctx,
bool removed_any = false;
struct ac_vs_exports exports;
- assert(num_outputs <= VARYING_SLOT_MAX);
exports.num = 0;
/* Process all LLVM instructions. */