vkd3d-shader/hlsl: Parse the patchconstantfunc attribute.

This commit is contained in:
Shaun Ren
2024-08-24 11:54:34 -04:00
committed by Henri Verbeet
parent 41cb29c4c8
commit 6c1dc53d15
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
2 changed files with 38 additions and 0 deletions

View File

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