diff options
author | csmartdalton <csmartdalton@google.com> | 2017-02-13 15:45:35 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-13 23:21:35 +0000 |
commit | 936f81b95882be2e171a623b3116cc2ff408c813 (patch) | |
tree | 339761c23c6bbed0d495212a5854c2c22ab374d2 /src/gpu/glsl/GrGLSLProgramBuilder.h | |
parent | ed4984bf53b90e50acad606aeb4b35340db802a3 (diff) |
Move the rt adjust uniform into GP EmitArgs
The GP will likely require this value when dealing with a geometry
shader. In the future we may wish to either switch to device-space
geometry shaders, or else put this value in an "sk_" builtin.
BUG=skia:
Change-Id: I8dff88fc219feef84d39fb7bbd08f3b5686f53d2
Reviewed-on: https://skia-review.googlesource.com/8362
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/glsl/GrGLSLProgramBuilder.h')
-rw-r--r-- | src/gpu/glsl/GrGLSLProgramBuilder.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.h b/src/gpu/glsl/GrGLSLProgramBuilder.h index 3074110f60..321d81cad2 100644 --- a/src/gpu/glsl/GrGLSLProgramBuilder.h +++ b/src/gpu/glsl/GrGLSLProgramBuilder.h @@ -66,10 +66,6 @@ public: UniformHandle fRTHeightUni; }; - // Used to add a uniform in the vertex shader for transforming into normalized device space. - void addRTAdjustmentUniform(GrSLPrecision precision, const char* name, const char** outName); - const char* rtAdjustment() const { return "rtAdjustment"; } - // Used to add a uniform for the RenderTarget height (used for frag position) without mangling // the name of the uniform inside of a stage. void addRTHeightUniform(const char* name); |