aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/sksl.include
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-11-10 15:34:03 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-13 14:36:40 +0000
commitaae47c878b83ab6d9742d92a6fa47e762f6b9204 (patch)
treefd13dbc1dc7c5dc36f8262099cf8ade55ec0cb47 /src/sksl/sksl.include
parent2d9cb57c83553be3434c04f860d5e9fec30cb453 (diff)
sksl enum support
Bug: skia: Change-Id: I4d505b31cf8b59de12bcdbca410aafc085977ba9 Reviewed-on: https://skia-review.googlesource.com/68621 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/sksl.include')
-rw-r--r--src/sksl/sksl.include9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sksl/sksl.include b/src/sksl/sksl.include
index c8a7b6bd4b..9621f889fe 100644
--- a/src/sksl/sksl.include
+++ b/src/sksl/sksl.include
@@ -1,4 +1,4 @@
-STRINGIFY(
+R"(
// defines built-in functions supported by SkiaSL
@@ -330,11 +330,11 @@ float4 subpassLoad(subpassInputMS subpass, int sample);
$gfloat4subpassLoad(gsubpassInput subpass);
$gfloat4subpassLoad(gsubpassInputMS subpass, int sample);
*/
-)
+)"
// split into multiple chunks, as MSVC++ complains if a single string is too long
-STRINGIFY(
+R"(
half4 texture($gsampler1D sampler, float2 P);
half4 texture($gsampler1D sampler, float2 P, float bias);
@@ -560,5 +560,4 @@ void memoryBarrierImage();
void groupMemoryBarrier();
*/
-)
-
+)"