vk/vulkan.h: Remove client-settable pointSize from DynamicRsState
This commit is contained in:
parent
245583075c
commit
1fb859e4b2
|
@ -1637,8 +1637,6 @@ typedef struct {
|
||||||
float depthBias;
|
float depthBias;
|
||||||
float depthBiasClamp;
|
float depthBiasClamp;
|
||||||
float slopeScaledDepthBias;
|
float slopeScaledDepthBias;
|
||||||
float pointSize;
|
|
||||||
float pointFadeThreshold;
|
|
||||||
float lineWidth;
|
float lineWidth;
|
||||||
} VkDynamicRsStateCreateInfo;
|
} VkDynamicRsStateCreateInfo;
|
||||||
|
|
||||||
|
|
|
@ -2031,15 +2031,10 @@ VkResult anv_CreateDynamicRasterState(
|
||||||
if (state == NULL)
|
if (state == NULL)
|
||||||
return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
|
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 = {
|
struct GEN8_3DSTATE_SF sf = {
|
||||||
GEN8_3DSTATE_SF_header,
|
GEN8_3DSTATE_SF_header,
|
||||||
.LineWidth = pCreateInfo->lineWidth,
|
.LineWidth = pCreateInfo->lineWidth,
|
||||||
.PointWidth = pCreateInfo->pointSize,
|
.PointWidth = 1.0,
|
||||||
};
|
};
|
||||||
|
|
||||||
GEN8_3DSTATE_SF_pack(NULL, state->state_sf, &sf);
|
GEN8_3DSTATE_SF_pack(NULL, state->state_sf, &sf);
|
||||||
|
|
Loading…
Reference in New Issue