mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Allow 'break' instructions in loops.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
89f493b900
commit
0e5749e78e
Notes:
Alexandre Julliard
2023-10-09 23:10:18 +02: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/245
@@ -699,6 +699,8 @@ struct hlsl_scope
|
||||
struct rb_tree types;
|
||||
/* Scope containing this scope. This value is NULL for the global scope. */
|
||||
struct hlsl_scope *upper;
|
||||
/* The scope was created for the loop statement. */
|
||||
bool loop;
|
||||
};
|
||||
|
||||
struct hlsl_profile_info
|
||||
|
Reference in New Issue
Block a user