From: Kristian Høgsberg Kristensen Date: Thu, 11 Jun 2015 06:13:24 +0000 (-0700) Subject: vk: Set maximum point size range X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d76ea7644ac5df281ae26e8ce1f8c5201539781b;p=mesa.git 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. --- 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,