From cae3a4c8ab7082df009a1e340f10292350e0c763 Mon Sep 17 00:00:00 2001 From: Ethan Nicholas Date: Thu, 2 Feb 2017 10:43:58 -0500 Subject: Revert "Replaced all calls to fragmentPosition() with sk_FragCoord" This reverts commit de4d301881e7fd084f1f0b359ec6f9b2bf8bd4c5. Reason for revert: several Chrome rendering bugs on Mac BUG=skia: Change-Id: I492082b0b7e7c902ede4b598c5809f604d210ce1 Reviewed-on: https://skia-review.googlesource.com/7887 Reviewed-by: Ethan Nicholas Commit-Queue: Ethan Nicholas --- tests/SkSLErrorTest.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tests/SkSLErrorTest.cpp') diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp index c28dbbb7f3..a33e6f16e6 100644 --- a/tests/SkSLErrorTest.cpp +++ b/tests/SkSLErrorTest.cpp @@ -418,13 +418,4 @@ DEF_TEST(SkSLDivByZero, r) { "error: 1: division by zero\n1 error\n"); } -DEF_TEST(SkSLUnsupportedGLSLIdentifiers, r) { - test_failure(r, - "void main() { float x = gl_FragCoord.x; };", - "error: 1: unknown identifier 'gl_FragCoord'\n1 error\n"); - test_failure(r, - "void main() { float r = gl_FragColor.r; };", - "error: 1: unknown identifier 'gl_FragColor'\n1 error\n"); -} - #endif -- cgit v1.2.3