Index: src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp b/src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp |
index f35c9ba910533100baa6cee57df432daf23c51d5..ef8d1a2a358f3777815e8094365c8bd49958143a 100644 |
--- a/src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp |
@@ -48,9 +48,7 @@ bool GrGLGeometryBuilder::compileAndAttachShaders(GrGLuint programId, |
geomShaderSrc.append("void main() {\n"); |
geomShaderSrc.append("\tfor (int i = 0; i < 3; ++i) {\n" |
"\t\tgl_Position = gl_in[i].gl_Position;\n"); |
- if (fProgramBuilder->desc().header().fEmitsPointSize) { |
- geomShaderSrc.append("\t\tgl_PointSize = 1.0;\n"); |
- } |
+ geomShaderSrc.append("\t\tgl_PointSize = 1.0;\n"); |
SkASSERT(fInputs.count() == fOutputs.count()); |
for (int i = 0; i < fInputs.count(); ++i) { |
geomShaderSrc.appendf("\t\t%s = %s[i];\n", |