mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Store variables with external linkage in a dedicated list.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
44816403f1
commit
8f26986615
@@ -213,7 +213,7 @@ struct hlsl_ir_var
|
||||
const char *name;
|
||||
const char *semantic;
|
||||
const struct hlsl_reg_reservation *reg_reservation;
|
||||
struct list scope_entry, param_entry;
|
||||
struct list scope_entry, param_entry, extern_entry;
|
||||
|
||||
unsigned int first_write, last_read;
|
||||
struct hlsl_reg reg;
|
||||
@@ -418,6 +418,7 @@ struct hlsl_ctx
|
||||
struct hlsl_scope *cur_scope;
|
||||
struct hlsl_scope *globals;
|
||||
struct list scopes;
|
||||
struct list extern_vars;
|
||||
|
||||
struct list types;
|
||||
struct rb_tree functions;
|
||||
|
||||
Reference in New Issue
Block a user