Index: src/gpu/vk/GrVkPipelineState.cpp |
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp |
index 50250a5ead7933cad5614f1727b778722724ae5d..73ff62ed98be7ef2d0b61f7a812c0fdd6fd6971b 100644 |
--- a/src/gpu/vk/GrVkPipelineState.cpp |
+++ b/src/gpu/vk/GrVkPipelineState.cpp |
@@ -487,7 +487,8 @@ bool GrVkPipelineState::Desc::Build(Desc* desc, |
const GrPipeline& pipeline, |
GrPrimitiveType primitiveType, |
const GrGLSLCaps& caps) { |
- if (!INHERITED::Build(desc, primProc, pipeline, caps)) { |
+ if (!INHERITED::Build(desc, primProc, primitiveType == kPoints_GrPrimitiveType, pipeline, |
+ caps)) { |
return false; |
} |