aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkSLGLSLTest.cpp
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-03-31 14:53:17 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-31 20:33:14 +0000
commitc6f5e10709649708e4c5e6fff7ccf633e1c7bd10 (patch)
tree3aca1e845081dc38ad0669eb101b8a9419dc99be /tests/SkSLGLSLTest.cpp
parent0df1b04db87c3d86ee0b0bd6aa2cb5b6be32cac2 (diff)
fixed SPIR-V compilation error with unmodified variables
Change-Id: I22981a60c21a2e16d41d69c53e099f221a202a58 Reviewed-on: https://skia-review.googlesource.com/11000 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'tests/SkSLGLSLTest.cpp')
-rw-r--r--tests/SkSLGLSLTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SkSLGLSLTest.cpp b/tests/SkSLGLSLTest.cpp
index efae33604b..51a1f6325d 100644
--- a/tests/SkSLGLSLTest.cpp
+++ b/tests/SkSLGLSLTest.cpp
@@ -93,7 +93,7 @@ DEF_TEST(SkSLFunctions, r) {
*SkSL::ShaderCapsFactory::Default(),
"#version 400\n"
"out vec4 sk_FragColor;\n"
- "float foo(in float v[2]) {\n"
+ "float foo(float v[2]) {\n"
" return v[0] * v[1];\n"
"}\n"
"void bar(inout float x) {\n"