commit | 33316414c7d1a0a6354486bb2b211d2cbbcefa4a | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Nov 06 10:42:51 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Nov 06 19:11:44 2020 +0000 |
tree | 6a0cb24a7a3bc9124fdb13fa4a56b2c8ae22fad2 | |
parent | 70bb18d7c99de6c649379b7eef134b10ced29b34 [diff] |
Allow public SkSL to return vec4 (aka float4) We already allowed narrowing type conversions, so GLSL type aliases could be used almost exclusively. This fixes the last spot that a client would be forced to use half4 rather than vec4. Bug: skia:10679 Change-Id: Ie9cfc161650b238678861b9b126ce586c229162d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/332743 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com>