commit | 46f4497cb684947dce7adfa681b34e50ab3ac5f5 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Tue Mar 02 14:59:41 2021 -0500 |
committer | John Stiles <johnstiles@google.com> | Tue Mar 02 20:52:24 2021 +0000 |
tree | b40ebe743bfbe25c04e5ccff457c6c4891e54617 | |
parent | bc4a36af7c550eb0d081d13799bc737f98d90766 [diff] |
Add const to SkSL layout keys. This will allow @if statements to work properly with layout(key) values even with control-flow analysis disabled. Change-Id: Ib76b8c5553621815decda7fb0eefccb2c82df02b Bug: skia:11319 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/378416 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>