vkd3d-shader/hlsl: Parse the partitioning attribute.

This commit is contained in:
Shaun Ren
2024-09-03 15:09:24 -04:00
committed by Henri Verbeet
parent 615ffb823b
commit 41cb29c4c8
Notes: Henri Verbeet 2024-09-04 18:50:05 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1015
4 changed files with 33 additions and 0 deletions

View File

@@ -1076,6 +1076,7 @@ struct hlsl_ctx
enum vkd3d_tessellator_domain domain;
unsigned int output_control_point_count;
enum vkd3d_shader_tessellator_output_primitive output_primitive;
enum vkd3d_shader_tessellator_partitioning partitioning;
/* 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