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:
parent
863ffef385
commit
140635504c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -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))
|
__attribute__((disable_tail_calls))
|
||||||
#endif
|
#endif
|
||||||
MAYBE_MSABI
|
MAYBE_MSABI
|
||||||
extern "C" size_t WRAP(start_pipeline)(size_t x, size_t y, size_t limit, void** program, K* k) {
|
extern "C" void WRAP(start_pipeline)(size_t x, size_t y, size_t limit, void** program, K* k) {
|
||||||
#if defined(JUMPER)
|
|
||||||
F v;
|
F v;
|
||||||
#else
|
|
||||||
F v{};
|
|
||||||
#endif
|
|
||||||
auto start = (Stage*)load_and_inc(program);
|
auto start = (Stage*)load_and_inc(program);
|
||||||
while (x + kStride <= limit) {
|
while (x + kStride <= limit) {
|
||||||
start(k,program,x,y,0, v,v,v,v, v,v,v,v);
|
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) {
|
if (size_t tail = limit - x) {
|
||||||
start(k,program,x,y,tail, v,v,v,v, v,v,v,v);
|
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) {}
|
extern "C" void WRAP(just_return)(K*, void**, size_t,size_t,size_t, F,F,F,F, F,F,F,F) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user