Pull out shader-specific caps into GrShaderCaps and GrGLSLCaps
BUG=skia:
Review URL: https://codereview.chromium.org/1116713002
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 1f98b7c..bc3da6d 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -254,7 +254,8 @@
pipelineBuilder.setClip(clip);
// if path rendering we have to setup a couple of things like the draw type
- bool usePathRendering = gpu->glCaps().pathRenderingSupport() && random.nextBool();
+ bool usePathRendering = gpu->glCaps().shaderCaps()->pathRenderingSupport() &&
+ random.nextBool();
// twiddle drawstate knobs randomly
bool hasGeometryProcessor = !usePathRendering;