SkSplicer: favor 1.0f as a constant.
authorMike Klein <mtklein@chromium.org>
Sat, 21 Jan 2017 00:16:10 +0000 (19:16 -0500)
committerMike Klein <mtklein@chromium.org>
Sat, 21 Jan 2017 16:20:13 +0000 (16:20 +0000)
commit8f297c9994f864b1347d69c9b2c8795c7e8359b0
treeececdaebdc53fc41405c3ed798d763c1bc482da8
parent09008ff8dd7e8cf8edff6cf1ac2744f5d4c3cbc7
SkSplicer: favor 1.0f as a constant.

1.0f is the most commonly used constant, so we put it first in the
constant struct.  This usually cuts an instruction off loading it.

Change-Id: Ie54a9482aa3e90e9e5d8fcaa40dbd353af0fa1ca
Reviewed-on: https://skia-review.googlesource.com/7367
Reviewed-by: Mike Klein <mtklein@chromium.org>
src/splicer/SkSplicer.cpp
src/splicer/SkSplicer_generated.h
src/splicer/SkSplicer_shared.h