commit | d4efe685ddd079f9a04a5c5c2b590a5fcdb53b5f | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Thu Aug 29 16:10:13 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Aug 30 15:29:13 2019 +0000 |
tree | 27cd5bf6d1ccad9d2c28311b0d07a9e61aab3f2b | |
parent | 21d726de0b3f7e076dcb051e50ab394be7cddf49 [diff] [blame] |
SkSL sample() now permits specification of coordinates Bug: skia: Change-Id: I16073008ac852f1864bd1d2bd38087a5b661d05a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/232581 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.h b/src/gpu/glsl/GrGLSLProgramBuilder.h index 44db251..9f5e3a3 100644 --- a/src/gpu/glsl/GrGLSLProgramBuilder.h +++ b/src/gpu/glsl/GrGLSLProgramBuilder.h
@@ -169,8 +169,8 @@ #endif // These are used to check that we don't excede the allowable number of resources in a shader. - int fNumFragmentSamplers; - SkSTArray<4, GrShaderVar> fTransformedCoordVars; + int fNumFragmentSamplers; + SkSTArray<4, GrGLSLPrimitiveProcessor::TransformVar> fTransformedCoordVars; }; #endif