skia2/resources/sksl/errors/UniformVarWithInitializerExpression.sksl
Brian Osman 2fe67f9680 Disallow initializers on uniform variables
Bug: skia:11335
Change-Id: I88c952cbfe2d2c5920e17675da1674928f37b982
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/371480
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-02-18 01:01:38 +00:00

4 lines
55 B
Plaintext

uniform float x = 1;
float y;
uniform float z = y = 1;