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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user