mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
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:
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
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user