aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-07-28 15:19:46 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-28 20:43:03 +0000
commit5af9ea399d5e0344cc4b7da4e97b5dc5b3c74f64 (patch)
treedf906a3af0b954b130340589f24d128ce655bb01 /include/private
parent0edfbb78244739cb6e695f240edb7f659a543160 (diff)
renamed SkSL types in preparation for killing precision modifiers
Bug: skia: Change-Id: Iff0289e25355a89cdc289a0892ed755dd1b1c900 Reviewed-on: https://skia-review.googlesource.com/27703 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/private')
-rw-r--r--include/private/GrGLSL.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/private/GrGLSL.h b/include/private/GrGLSL.h
index 26954b4f80..9a32508766 100644
--- a/include/private/GrGLSL.h
+++ b/include/private/GrGLSL.h
@@ -92,23 +92,23 @@ static inline const char* GrGLSLTypeString(GrSLType t) {
case kFloat_GrSLType:
return "float";
case kVec2f_GrSLType:
- return "vec2";
+ return "float2";
case kVec3f_GrSLType:
- return "vec3";
+ return "float3";
case kVec4f_GrSLType:
- return "vec4";
+ return "float4";
case kVec2i_GrSLType:
- return "ivec2";
+ return "int2";
case kVec3i_GrSLType:
- return "ivec3";
+ return "int3";
case kVec4i_GrSLType:
- return "ivec4";
+ return "int4";
case kMat22f_GrSLType:
- return "mat2";
+ return "float2x2";
case kMat33f_GrSLType:
- return "mat3";
+ return "float3x3";
case kMat44f_GrSLType:
- return "mat4";
+ return "float4x4";
case kTexture2DSampler_GrSLType:
return "sampler2D";
case kITexture2DSampler_GrSLType: