diff options
author | 2016-11-15 13:26:08 -0500 | |
---|---|---|
committer | 2016-11-15 19:09:49 +0000 | |
commit | d327e8c3d0ff9e9038c60f486d3f4023318e29a8 (patch) | |
tree | 7a77cc594925a8cae91ec512edf3714b936d500e /src/gpu/glsl/GrGLSL.cpp | |
parent | 918fb1fe6ff5349a2d1e5fb6872139f5fb931480 (diff) |
Add 4.20 as a GLSL output version.
GLSL 4.20 adds support for image functions which will be used in forthcoming changes.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4833
Change-Id: I8cab511d95f04b45faaf916628148117b8be2128
Reviewed-on: https://skia-review.googlesource.com/4833
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/glsl/GrGLSL.cpp')
-rw-r--r-- | src/gpu/glsl/GrGLSL.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/glsl/GrGLSL.cpp b/src/gpu/glsl/GrGLSL.cpp index bec4784db2..69f046cb82 100644 --- a/src/gpu/glsl/GrGLSL.cpp +++ b/src/gpu/glsl/GrGLSL.cpp @@ -18,6 +18,7 @@ bool GrGLSLSupportsNamedFragmentShaderOutputs(GrGLSLGeneration gen) { case k150_GrGLSLGeneration: case k330_GrGLSLGeneration: case k400_GrGLSLGeneration: + case k420_GrGLSLGeneration: case k310es_GrGLSLGeneration: case k320es_GrGLSLGeneration: return true; |