radeon/ac: remove assert causing regression

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 <michel.daenzer@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2017-04-27 11:35:56 +01:00
parent 550281f934
commit f4743763ce

View file

@ -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. */