Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index 6522e1b14bce63256dd822c3ecb973934c50d1e5..b97022f2d78d05eff89dea367d37074a16e6ad78 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -355,6 +355,10 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, |
fDiscardRenderTargetSupport = false; |
fInvalidateFBType = kNone_InvalidateFBType; |
} |
+ glslCaps->fProgrammableSampleLocationsSupport = |
+ ctxInfo.hasExtension("GL_NV_sample_locations") || |
+ ctxInfo.hasExtension("GL_ARB_sample_locations"); |
+ |
/************************************************************************** |
* GrCaps fields |