From 5af9ea399d5e0344cc4b7da4e97b5dc5b3c74f64 Mon Sep 17 00:00:00 2001 From: Ethan Nicholas Date: Fri, 28 Jul 2017 15:19:46 -0400 Subject: 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 Reviewed-by: Brian Salomon --- include/private/GrGLSL.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/private/GrGLSL.h') 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: -- cgit v1.2.3