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:
Zebediah Figura
2021-04-15 19:03:44 -05:00
committed by Alexandre Julliard
parent 44816403f1
commit 8f26986615
3 changed files with 15 additions and 11 deletions

View File

@@ -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;