diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2016-11-22 09:31:35 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-22 15:04:03 +0000 |
commit | 1fc83b131afa7c29e971dd3ccc7906006bde6c09 (patch) | |
tree | 513d839ca00f54665205935bef4b6a1667c06b38 /src/gpu/glsl/GrGLSLShaderBuilder.h | |
parent | 3605ace7ddaf0b576bf6df1c7a550ab4f44d22a8 (diff) |
removed appendPrecisionModifier
skslc always provides support for precision modifiers (ignoring them if
unsupported on the target platform), so the Skia appendPrecisionModifier
function was redundant.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5117
Change-Id: I4bcbd47ef8d1f4f1b055086d4c9050254584b48c
Reviewed-on: https://skia-review.googlesource.com/5117
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/glsl/GrGLSLShaderBuilder.h')
-rw-r--r-- | src/gpu/glsl/GrGLSLShaderBuilder.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/glsl/GrGLSLShaderBuilder.h b/src/gpu/glsl/GrGLSLShaderBuilder.h index 6be69d4a2b..b568369cca 100644 --- a/src/gpu/glsl/GrGLSLShaderBuilder.h +++ b/src/gpu/glsl/GrGLSLShaderBuilder.h @@ -120,11 +120,6 @@ public: */ void declAppend(const GrShaderVar& var); - /** - * Appends a precision qualifier followed by a space, if relevant for the GLSL version. - */ - void appendPrecisionModifier(GrSLPrecision); - /** Emits a helper function outside of main() in the fragment shader. */ void emitFunction(GrSLType returnType, const char* name, |