Index: src/gpu/gl/GrGLProgramDesc.cpp |
diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp |
index f8dbbc26f9096858a19966f0fcba2f422c176528..74f669f2e317a06ba616d582bcc2cf54f3993529 100644 |
--- a/src/gpu/gl/GrGLProgramDesc.cpp |
+++ b/src/gpu/gl/GrGLProgramDesc.cpp |
@@ -196,6 +196,8 @@ |
header->fHasGeometryProcessor = optState.hasGeometryProcessor(); |
+ header->fEmitsPointSize = GrGpu::kDrawPoints_DrawType == drawType; |
+ |
bool isPathRendering = GrGpu::IsPathRenderingDrawType(drawType); |
if (gpu->caps()->pathRenderingSupport() && isPathRendering) { |
header->fUseNvpr = true; |