| Index: src/gpu/gl/GrGLProgramDataManager.cpp
|
| diff --git a/src/gpu/gl/GrGLProgramDataManager.cpp b/src/gpu/gl/GrGLProgramDataManager.cpp
|
| index a03f1b292230df64ed0bb9d66594a4ab7ddbb57f..a75ecde635376276197457ddba1115742e2b2dc2 100644
|
| --- a/src/gpu/gl/GrGLProgramDataManager.cpp
|
| +++ b/src/gpu/gl/GrGLProgramDataManager.cpp
|
| @@ -32,12 +32,12 @@ GrGLProgramDataManager::GrGLProgramDataManager(GrGLGpu* gpu, GrGLuint programID,
|
| );
|
| // TODO: Move the Xoom uniform array in both FS and VS bug workaround here.
|
|
|
| - if (GrGLSLUniformHandler::kVertex_Visibility & builderUniform.fVisibility) {
|
| + if (kVertex_GrShaderFlag & builderUniform.fVisibility) {
|
| uniform.fVSLocation = builderUniform.fLocation;
|
| } else {
|
| uniform.fVSLocation = kUnusedUniform;
|
| }
|
| - if (GrGLSLUniformHandler::kFragment_Visibility & builderUniform.fVisibility) {
|
| + if (kFragment_GrShaderFlag & builderUniform.fVisibility) {
|
| uniform.fFSLocation = builderUniform.fLocation;
|
| } else {
|
| uniform.fFSLocation = kUnusedUniform;
|
|
|