aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar benjaminwagner <benjaminwagner@google.com>2016-10-27 09:08:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-27 09:08:06 -0700
commit56380524d903f27627a75e2e1189463999725008 (patch)
tree27c6865c15ecf99b96951221a59efa2cd089ecbb /tests
parent552889ea44baaa50368fc4aec5c304c83698040f (diff)
Revert of Reduced skslc memory consumption (patchset #3 id:50001 of https://codereview.chromium.org/2442063002/ )
Reason for revert: texelFetch removed, but is used in some shaders. Original issue's description: > Reduced skslc memory consumption > > The big change here is smarter generic type handling which allows us to > keep far fewer entries in the core symboltable. This also comments out > a number of OpenGL builtin functions which Skia does not use and is > unlikely to in the future. > BUG=655673 > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2442063002 > > Committed: https://skia.googlesource.com/skia/+/cffaa70896fa5bc6c7bf98abbaafb1a755b49762 TBR=reed@google.com,ethannicholas@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=655673 Review-Url: https://codereview.chromium.org/2458723002
Diffstat (limited to 'tests')
-rw-r--r--tests/SkSLErrorTest.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp
index 3afb64fe61..47e31e6ee4 100644
--- a/tests/SkSLErrorTest.cpp
+++ b/tests/SkSLErrorTest.cpp
@@ -43,12 +43,7 @@ DEF_TEST(SkSLUndefinedFunction, r) {
DEF_TEST(SkSLGenericArgumentMismatch, r) {
test_failure(r,
"void main() { float x = sin(1, 2); }",
- "error: 1: call to 'sin' expected 1 argument, but found 2\n1 error\n");
- test_failure(r,
- "void main() { float x = sin(true); }",
- "error: 1: no match for sin(bool)\n1 error\n");
- test_success(r,
- "void main() { float x = sin(1); }");
+ "error: 1: no match for sin(int, int)\n1 error\n");
}
DEF_TEST(SkSLArgumentCountMismatch, r) {