vk/vulkan.h: Remove client-settable pointSize from DynamicRsState
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 19:35:32 +0000 (12:35 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 19:35:32 +0000 (12:35 -0700)
include/vulkan/vulkan.h
src/vulkan/device.c

index a150f0f875ef33d9517fc8b37e68afd5d7d75206..e2f5fd081952c5384359b63c872e5a621d67d429 100644 (file)
@@ -1637,8 +1637,6 @@ typedef struct {
     float                                       depthBias;
     float                                       depthBiasClamp;
     float                                       slopeScaledDepthBias;
-    float                                       pointSize;
-    float                                       pointFadeThreshold;
     float                                       lineWidth;
 } VkDynamicRsStateCreateInfo;
 
index 5237f2d6f82db6384fd879877e0f3209108b5423..60d6910577e3b3685eb0f46820b8ef3186b4b689 100644 (file)
@@ -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);