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

@@ -1213,6 +1213,8 @@ struct hlsl_ctx
unsigned int max_vertex_count;
/* The input primitive type of a geometry shader. */
enum vkd3d_primitive_type input_primitive_type;
/* The output topology type of a geometry shader. */
enum vkd3d_primitive_type output_topology_type;
/* In some cases we generate opcodes by parsing an HLSL function and then
* invoking it. If not NULL, this field is the name of the function that we