From 23f92277b916a4bdf11c320799ac9248af60a62e Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 17 Aug 2017 14:58:40 +0000 Subject: Revert "fixed constant vector swizzling" This reverts commit 8ac36a577f14158c820bbc673f477a7ce20702e5. Reason for revert: Need to revert 88d99c63878c2d3d340120f0321676f72afcb4f0 Original change's description: > fixed constant vector swizzling > > Bug: skia: > Change-Id: I2d205bf7242d2223c4939c3e7897db9aba02c705 > Reviewed-on: https://skia-review.googlesource.com/35640 > Reviewed-by: Ethan Nicholas > Commit-Queue: Ethan Nicholas TBR=bsalomon@google.com,ethannicholas@google.com Change-Id: I0b0ee62b9173beed9513947244e37d5a528f85a3 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/35704 Reviewed-by: Brian Salomon Commit-Queue: Brian Salomon --- tests/SkSLGLSLTest.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'tests/SkSLGLSLTest.cpp') diff --git a/tests/SkSLGLSLTest.cpp b/tests/SkSLGLSLTest.cpp index e4088ceee7..73c6dccbde 100644 --- a/tests/SkSLGLSLTest.cpp +++ b/tests/SkSLGLSLTest.cpp @@ -1573,17 +1573,4 @@ DEF_TEST(SkSLNumberConversions, r) { "float f2f = f;\n"); } -DEF_TEST(SkSLConstantSwizzleComparison, r) { - test(r, - "void main() { if (half4(1.0).x == half4(1.0).y) { sk_FragColor = half4(1.0); } }", - *SkSL::ShaderCapsFactory::Default(), - "#version 400\n" - "out vec4 sk_FragColor;\n" - "void main() {\n" - " {\n" - " sk_FragColor = vec4(1.0);\n" - " }\n" - "}\n"); -} - #endif -- cgit v1.2.3