diff options
author | 2014-12-09 10:04:14 -0800 | |
---|---|---|
committer | 2014-12-09 10:04:14 -0800 | |
commit | c0bd6484f621e4a1033be318b1947a5d32157c13 (patch) | |
tree | dbc194e9260822ca670afd9d5f1987d65afd58ea /src/gpu/effects/GrConfigConversionEffect.cpp | |
parent | 17168df7798d0d12684f18df0556dc19e65b32e6 (diff) |
Move shader precision out of GrShaderVar
Review URL: https://codereview.chromium.org/777443003
Diffstat (limited to 'src/gpu/effects/GrConfigConversionEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrConfigConversionEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp index e146411e32..55ae54e9ae 100644 --- a/src/gpu/effects/GrConfigConversionEffect.cpp +++ b/src/gpu/effects/GrConfigConversionEffect.cpp @@ -29,7 +29,7 @@ public: const TransformedCoordsArray& coords, const TextureSamplerArray& samplers) SK_OVERRIDE { // Using highp for GLES here in order to avoid some precision issues on specific GPUs. - GrGLShaderVar tmpVar("tmpColor", kVec4f_GrSLType, 0, GrGLShaderVar::kHigh_Precision); + GrGLShaderVar tmpVar("tmpColor", kVec4f_GrSLType, 0, kHigh_GrSLPrecision); SkString tmpDecl; tmpVar.appendDecl(builder->ctxInfo(), &tmpDecl); |