| Index: src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
|
| index e6c07c2cdbee12c3e9ca65c4ee45694e4e31d58f..557cdbfa5834cc6ed342f478d85ebfb44f9ae3bd 100644
|
| --- a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
|
| +++ b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
|
| @@ -264,9 +264,7 @@ bool GrGLFragmentShaderBuilder::compileAndAttachShaders(GrGLuint programId,
|
| }
|
|
|
| void GrGLFragmentShaderBuilder::bindFragmentShaderLocations(GrGLuint programID) {
|
| - // ES 3.00 requires custom color output but doesn't support bindFragDataLocation
|
| - if (fHasCustomColorOutput &&
|
| - kGLES_GrGLStandard != fProgramBuilder->gpu()->ctxInfo().standard()) {
|
| + if (fHasCustomColorOutput && fProgramBuilder->gpu()->glCaps().bindFragDataLocationSupport()) {
|
| GL_CALL(BindFragDataLocation(programID, 0, declared_color_output_name()));
|
| }
|
| if (fHasSecondaryOutput) {
|
|
|