diff options
author | Dave Airlie <[email protected]> | 2017-04-27 11:35:56 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-04-27 11:38:54 +0100 |
commit | f4743763cefa161afeb8e1e7b4e56c2adcb0d1ef (patch) | |
tree | 1a943d06c3d3b4fea3e890c9c52aeccc4592711a /src/amd/common/ac_llvm_build.c | |
parent | 550281f934676a5064f77fd9379073d7db1f9486 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.c')
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 1 |
1 files changed, 0 insertions, 1 deletions
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. */ |