vkd3d: Do not write the point size for SPIR-V shaders.

We disable shaderTessellationAndGeometryPointSize.
This commit is contained in:
Zebediah Figura 2023-01-26 14:29:03 -06:00 committed by Alexandre Julliard
parent 8fc8d34ea0
commit a66fe31fe5
Notes: Alexandre Julliard 2023-02-02 22:14:40 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/46

View File

@ -1966,6 +1966,7 @@ static HRESULT create_shader_stage(struct d3d12_device *device,
{
{VKD3D_SHADER_COMPILE_OPTION_API_VERSION, VKD3D_SHADER_API_VERSION_1_6},
{VKD3D_SHADER_COMPILE_OPTION_TYPED_UAV, typed_uav_compile_option(device)},
{VKD3D_SHADER_COMPILE_OPTION_WRITE_TESS_GEOM_POINT_SIZE, 0},
};
stage_desc->sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;