From f4743763cefa161afeb8e1e7b4e56c2adcb0d1ef Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 27 Apr 2017 11:35:56 +0100 Subject: radeon/ac: remove assert causing regression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This assert wasn't in the original radeonsi code but I added it without totally understanding the original code, it caused some regressions in variable-indexing tessellation shaders. Fixes: e2659176 radeonsi/ac: move vertex export remove to common code. Reported-by: Michel Dänzer Signed-off-by: Dave Airlie --- src/amd/common/ac_llvm_build.c | 1 - 1 file changed, 1 deletion(-) 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. */ -- cgit v1.2.3