vkd3d-shader/hlsl: Parse the maxvertexcount attribute.

This commit is contained in:
Shaun Ren
2025-03-10 16:32:42 -04:00
committed by Henri Verbeet
parent 7be7e589a9
commit e880b11626
Notes: Henri Verbeet 2025-03-12 22:20:50 +01:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1405
4 changed files with 75 additions and 54 deletions

View File

@@ -4735,6 +4735,7 @@ static bool hlsl_ctx_init(struct hlsl_ctx *ctx, const struct vkd3d_shader_compil
ctx->output_primitive = 0;
ctx->partitioning = 0;
ctx->input_control_point_count = UINT_MAX;
ctx->max_vertex_count = 0;
return true;
}