From d76ea7644ac5df281ae26e8ce1f8c5201539781b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Wed, 10 Jun 2015 23:13:24 -0700 Subject: [PATCH] vk: Set maximum point size range We set both minimum and maximum point size to 0 in 3DSTATE_CLIP, which will clip away all points. --- src/vulkan/pipeline.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vulkan/pipeline.c b/src/vulkan/pipeline.c index 6f0b5b4aafd..95123bf931e 100644 --- a/src/vulkan/pipeline.c +++ b/src/vulkan/pipeline.c @@ -493,7 +493,9 @@ anv_pipeline_create( anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_CLIP, .ClipEnable = true, - .ViewportXYClipTestEnable = !(extra && extra->disable_viewport)); + .ViewportXYClipTestEnable = !(extra && extra->disable_viewport), + .MinimumPointWidth = 0.125, + .MaximumPointWidth = 255.875); anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_WM, .StatisticsEnable = true, -- 2.30.2