mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Handle effect group statement.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
f7a02a5da2
commit
e527d7c1e7
Notes:
Alexandre Julliard
2024-01-11 23:13:27 +01:00
Approved-by: Giovanni Mascellani (@giomasce) 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/443
@@ -96,6 +96,7 @@ enum hlsl_base_type
|
||||
HLSL_TYPE_PIXELSHADER,
|
||||
HLSL_TYPE_VERTEXSHADER,
|
||||
HLSL_TYPE_TECHNIQUE,
|
||||
HLSL_TYPE_EFFECT_GROUP,
|
||||
HLSL_TYPE_STRING,
|
||||
HLSL_TYPE_VOID,
|
||||
};
|
||||
@@ -405,6 +406,8 @@ struct hlsl_ir_var
|
||||
struct list scope_entry;
|
||||
/* Item entry in hlsl_ctx.extern_vars, if the variable is extern. */
|
||||
struct list extern_entry;
|
||||
/* Scope that variable itself defines, used to provide a container for techniques and passes. */
|
||||
struct hlsl_scope *scope;
|
||||
|
||||
/* 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