diff options
author | 2012-07-11 15:03:31 +0000 | |
---|---|---|
committer | 2012-07-11 15:03:31 +0000 | |
commit | eb715c8d5caa2191d611c4f9cfb22b4afc6c8d02 (patch) | |
tree | fef8a29dadf8c8c76ccf166ea045bd047abc811a /src/gpu/effects/GrMorphologyEffect.cpp | |
parent | f3ccda7d4f54a149487dfe96e2cc7c2d7f28502b (diff) |
VariableVisibility -> ShaderType
Review URL: http://codereview.appspot.com/6344103/
git-svn-id: http://skia.googlecode.com/svn/trunk@4534 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects/GrMorphologyEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrMorphologyEffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/effects/GrMorphologyEffect.cpp b/src/gpu/effects/GrMorphologyEffect.cpp index 40c1300bfe..43e870285f 100644 --- a/src/gpu/effects/GrMorphologyEffect.cpp +++ b/src/gpu/effects/GrMorphologyEffect.cpp @@ -57,9 +57,9 @@ GrGLMorphologyEffect ::GrGLMorphologyEffect(const GrProgramStageFactory& factory } void GrGLMorphologyEffect::setupVariables(GrGLShaderBuilder* state, int stage) { - fImageIncrementVar = &state->addUniform( - GrGLShaderBuilder::kBoth_VariableLifetime, - kVec2f_GrSLType, "uImageIncrement", stage); + fImageIncrementVar = &state->addUniform(GrGLShaderBuilder::kFragment_ShaderType | + GrGLShaderBuilder::kVertex_ShaderType, + kVec2f_GrSLType, "uImageIncrement", stage); } void GrGLMorphologyEffect::emitVS(GrGLShaderBuilder* state, |