Revert "Revert "remove 'in uniform' support from GrSkSLFP, make rules more clear""
This reverts commit 85705c1b3bc53d887fddec1912e9c155044a5b2a.
Change-Id: If189dafce53491728296a4292c76af55b05835ac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/244509
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/gm/runtimefunctions.cpp b/gm/runtimefunctions.cpp
index 15c9177..045fb63 100644
--- a/gm/runtimefunctions.cpp
+++ b/gm/runtimefunctions.cpp
@@ -23,7 +23,7 @@
#include <stddef.h>
static const char* RUNTIME_FUNCTIONS_SRC = R"(
- layout(ctype=SkRect) in uniform half4 gColor;
+ layout(ctype=SkRect) uniform half4 gColor;
half scale(float x) {
return half(x) / 255;