aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2018-03-16 12:20:54 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-16 17:54:05 +0000
commit16c1196ea6bae60be684f6c37f97348666ceaf2f (patch)
treea6fee3d727229f08d7b16cb8c3f514777ddc7306 /src/sksl/ir
parent2ab6f7e580bb9624d65a9a64cd56952d896db602 (diff)
fix SkSL SPIR-V geometry shaders' entry point declaration
Bug: skia: Change-Id: I5cd5a35fe1a554b127548a7809c106de70df0be7 Reviewed-on: https://skia-review.googlesource.com/114785 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/ir')
-rw-r--r--src/sksl/ir/SkSLSwizzle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ir/SkSLSwizzle.h b/src/sksl/ir/SkSLSwizzle.h
index 5512c852b3..d07f16efc2 100644
--- a/src/sksl/ir/SkSLSwizzle.h
+++ b/src/sksl/ir/SkSLSwizzle.h
@@ -79,7 +79,7 @@ static const Type& get_type(const Context& context, Expression& value, size_t co
}
/**
- * Represents a vector swizzle operation such as 'float21, 2, 3).zyx'.
+ * Represents a vector swizzle operation such as 'float2(1, 2, 3).zyx'.
*/
struct Swizzle : public Expression {
Swizzle(const Context& context, std::unique_ptr<Expression> base, std::vector<int> components)