mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 03:30:10 +01:00
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:
parent
550281f934
commit
f4743763ce
1 changed files with 0 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue