vkd3d-shader/hlsl: Parse the domain attribute.

This commit is contained in:
Shaun Ren
2024-08-24 10:08:53 -04:00
committed by Henri Verbeet
parent 51e9b05fe5
commit 4dfd682446
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 54 additions and 0 deletions

View File

@@ -1073,6 +1073,8 @@ struct hlsl_ctx
* compute shader profiles. It is set using the numthreads() attribute in the entry point. */
uint32_t thread_count[3];
enum vkd3d_tessellator_domain domain;
/* 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
* are currently parsing, "mangled" with an internal prefix to avoid