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>
bool removed_any = false;
struct ac_vs_exports exports;
- assert(num_outputs <= VARYING_SLOT_MAX);
exports.num = 0;
/* Process all LLVM instructions. */