commit | bb10b9c616e36147d333216abd6aee2b6bb3d311 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Tue Sep 07 20:12:32 2021 +0000 |
committer | Brian Osman <brianosman@google.com> | Tue Sep 07 20:17:47 2021 +0000 |
tree | 3b1d273d1f2d40381ce3caa32f801b7923e27847 | |
parent | bb56e9f505080a8b8c5f33c84648c6d8c00f4ae7 [diff] |
In SkSL, replace 'sample' with '.eval' SkSL syntax is evolving to better communicate how the effects integrate with the rest of the Skia pipeline. 'sample' suggests texture sampling, but the invocation of the shader object is really a call to a function (the entry point of the SkShader's generated code). Bug: skbug.com/12302 Change-Id: Ib6b895208ae70368901965b7ca13434c51a7455f