mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Store static initialization instructions in a block.
This commit is contained in:
committed by
Alexandre Julliard
parent
5dee6561c2
commit
99314b6340
Notes:
Alexandre Julliard
2023-06-12 23:10:20 +02:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/228
@@ -796,9 +796,8 @@ struct hlsl_ctx
|
||||
struct hlsl_type *Void;
|
||||
} builtin_types;
|
||||
|
||||
/* List of the instruction nodes for initializing static variables; linked by the
|
||||
* hlsl_ir_node.entry fields. */
|
||||
struct list static_initializers;
|
||||
/* List of the instruction nodes for initializing static variables. */
|
||||
struct hlsl_block static_initializers;
|
||||
|
||||
/* Dynamic array of constant values that appear in the shader, associated to the 'c' registers.
|
||||
* Only used for SM1 profiles. */
|
||||
|
||||
Reference in New Issue
Block a user