SkJumper: remove TODO.
Starting with uninitialized vectors is only minorly faster (<0.5%). I'd rather keep the zeroes and feel warm and fuzzy. Change-Id: Ib28aef9c9a75f53e2ab645bfb094582e30b7df07 Reviewed-on: https://skia-review.googlesource.com/8825 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
b2fb600918
commit
8a7dc29572
@ -220,7 +220,7 @@ static void* load_and_inc(void**& program) {
|
|||||||
__attribute__((ms_abi))
|
__attribute__((ms_abi))
|
||||||
#endif
|
#endif
|
||||||
extern "C" size_t WRAP(start_pipeline)(size_t x, void** program, K* k, size_t limit) {
|
extern "C" size_t WRAP(start_pipeline)(size_t x, void** program, K* k, size_t limit) {
|
||||||
F v{}; // TODO: faster uninitialized?
|
F v{};
|
||||||
size_t stride = sizeof(F) / sizeof(float);
|
size_t stride = sizeof(F) / sizeof(float);
|
||||||
auto start = (Stage*)load_and_inc(program);
|
auto start = (Stage*)load_and_inc(program);
|
||||||
while (x + stride <= limit) {
|
while (x + stride <= limit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user