minor fixes to start_pipeline_lowp

- in _lowp.cpp, JUMPER is always defined, so no need to check.
   - the return type of this function has been void for a while.

Change-Id: I5271e8dab784f46c7ffa9cfba6eb55b5e399b537
Reviewed-on: https://skia-review.googlesource.com/24326
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Mike Klein 2017-07-18 13:01:56 -04:00 committed by Skia Commit-Bot
parent 863ffef385
commit 140635504c
3 changed files with 626 additions and 640 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -70,12 +70,8 @@ using Stage = void(K* k, void** program, size_t x, size_t y, size_t tail, F,F,F,
__attribute__((disable_tail_calls))
#endif
MAYBE_MSABI
extern "C" size_t WRAP(start_pipeline)(size_t x, size_t y, size_t limit, void** program, K* k) {
#if defined(JUMPER)
extern "C" void WRAP(start_pipeline)(size_t x, size_t y, size_t limit, void** program, K* k) {
F v;
#else
F v{};
#endif
auto start = (Stage*)load_and_inc(program);
while (x + kStride <= limit) {
start(k,program,x,y,0, v,v,v,v, v,v,v,v);
@ -84,7 +80,6 @@ extern "C" size_t WRAP(start_pipeline)(size_t x, size_t y, size_t limit, void**
if (size_t tail = limit - x) {
start(k,program,x,y,tail, v,v,v,v, v,v,v,v);
}
return limit;
}
extern "C" void WRAP(just_return)(K*, void**, size_t,size_t,size_t, F,F,F,F, F,F,F,F) {}