From 1fb859e4b279a95ad8f3f3c00dc3597e8acb6f5b Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 7 Jul 2015 12:35:32 -0700 Subject: [PATCH] vk/vulkan.h: Remove client-settable pointSize from DynamicRsState --- include/vulkan/vulkan.h | 2 -- src/vulkan/device.c | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index a150f0f875e..e2f5fd08195 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1637,8 +1637,6 @@ typedef struct { float depthBias; float depthBiasClamp; float slopeScaledDepthBias; - float pointSize; - float pointFadeThreshold; float lineWidth; } VkDynamicRsStateCreateInfo; diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 5237f2d6f82..60d6910577e 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -2031,15 +2031,10 @@ VkResult anv_CreateDynamicRasterState( if (state == NULL) return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); - /* Missing these: - * float pointFadeThreshold; - * // optional (GL45) - Size of point fade threshold - */ - struct GEN8_3DSTATE_SF sf = { GEN8_3DSTATE_SF_header, .LineWidth = pCreateInfo->lineWidth, - .PointWidth = pCreateInfo->pointSize, + .PointWidth = 1.0, }; GEN8_3DSTATE_SF_pack(NULL, state->state_sf, &sf); -- 2.30.2