diff options
author | 2016-04-08 12:19:50 -0700 | |
---|---|---|
committer | 2016-04-08 12:19:50 -0700 | |
commit | 0576aa9c0722bba358a27f80cc134ea2cd4ca2c9 (patch) | |
tree | 8df570c46afb32ee9a4550409a34b901e472d389 /src/core/SkReadBuffer.h | |
parent | 646125114b42b24e5ada3c9f8fac53a85f9ad2a0 (diff) |
Serialize invNormRotation in SkLightingShader.
This fixes a serialize-8888 / 8888 GM mismatch.
This requires a picture bump so we know not to bother trying to read the
invNormRotation vector from older .SKPs. Any chance no one's ever made
one?
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1870443002
Just bumping the picture version.
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1870443002
Diffstat (limited to 'src/core/SkReadBuffer.h')
-rw-r--r-- | src/core/SkReadBuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h index e77d1adfe3..faf853aef5 100644 --- a/src/core/SkReadBuffer.h +++ b/src/core/SkReadBuffer.h @@ -61,6 +61,7 @@ public: kPictureShaderHasPictureBool_Version = 42, kHasDrawImageOpCodes_Version = 43, kAnnotationsMovedToCanvas_Version = 44, + kLightingShaderWritesInvNormRotation = 45, }; /** |