vkd3d-shader/hlsl: Validate and record stream output objects.

Validation should only be done for stream outputs that are used.
This commit is contained in:
Shaun Ren
2025-03-18 16:33:53 -04:00
committed by Henri Verbeet
parent f2f44b054d
commit 2a89b23ede
Notes: Henri Verbeet 2025-04-23 18:18:33 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1458
3 changed files with 65 additions and 3 deletions

View File

@@ -4859,6 +4859,7 @@ static bool hlsl_ctx_init(struct hlsl_ctx *ctx, const struct vkd3d_shader_compil
ctx->input_control_point_count = UINT_MAX;
ctx->max_vertex_count = 0;
ctx->input_primitive_type = VKD3D_PT_UNDEFINED;
ctx->output_topology_type = VKD3D_PT_UNDEFINED;
return true;
}