aboutsummaryrefslogtreecommitdiff
path: root/tests/GLProgramsTest.cpp
diff options
context:
space:
mode:
authorjoshualitt <joshualitt@chromium.org>2014-08-21 20:18:45 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-21 20:18:45 -0700
commit30ba436f04e61d4505fb854d5fc56079636e0788 (patch)
tree0a8756ce4f6df0364fb238ee0057b78863afa8a5 /tests/GLProgramsTest.cpp
parentc8c4b957288fd3114d60e3faa9bc95c4c15ca1f2 (diff)
Initial refactor of shaderbuilder to prepare for geometry shaders
gitignore for eclipse BUG=skia: R=bsalomon@google.com, bsalomon@chromium.org Author: joshualitt@chromium.org Review URL: https://codereview.chromium.org/491673002
Diffstat (limited to 'tests/GLProgramsTest.cpp')
-rw-r--r--tests/GLProgramsTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 5763211029..3ab17d4f8d 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -102,13 +102,13 @@ bool GrGLProgramDesc::setRandom(SkRandom* random,
header->fCoverageEffectCnt = numCoverageStages;
if (dstRead) {
- header->fDstReadKey = SkToU8(GrGLShaderBuilder::KeyForDstRead(dstCopyTexture,
+ header->fDstReadKey = SkToU8(GrGLFragmentShaderBuilder::KeyForDstRead(dstCopyTexture,
gpu->glCaps()));
} else {
header->fDstReadKey = 0;
}
if (fragPos) {
- header->fFragPosKey = SkToU8(GrGLShaderBuilder::KeyForFragmentPosition(dstRenderTarget,
+ header->fFragPosKey = SkToU8(GrGLFragmentShaderBuilder::KeyForFragmentPosition(dstRenderTarget,
gpu->glCaps()));
} else {
header->fFragPosKey = 0;