mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/hlsl: Add initial support for parsing annotations.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
341963bbec
commit
fe8881747b
Notes:
Alexandre Julliard
2024-01-23 23:03:22 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/565
@@ -408,6 +408,8 @@ struct hlsl_ir_var
|
||||
struct list extern_entry;
|
||||
/* Scope that variable itself defines, used to provide a container for techniques and passes. */
|
||||
struct hlsl_scope *scope;
|
||||
/* Scope that contains annotations for this variable. */
|
||||
struct hlsl_scope *annotations;
|
||||
|
||||
/* Indexes of the IR instructions where the variable is first written and last read (liveness
|
||||
* range). The IR instructions are numerated starting from 2, because 0 means unused, and 1
|
||||
|
||||
Reference in New Issue
Block a user