mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Handle 'continue' statements.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
0e5749e78e
commit
e4b423d6b5
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
@@ -574,6 +574,10 @@ enum hlsl_ir_jump_type
|
||||
HLSL_IR_JUMP_DISCARD_NEG,
|
||||
HLSL_IR_JUMP_DISCARD_NZ,
|
||||
HLSL_IR_JUMP_RETURN,
|
||||
/* UNRESOLVED_CONTINUE type is used by the parser when 'continue' statement is found,
|
||||
it never reaches code generation, and is resolved to CONTINUE type once iteration
|
||||
and loop exit logic was properly applied. */
|
||||
HLSL_IR_JUMP_UNRESOLVED_CONTINUE,
|
||||
};
|
||||
|
||||
struct hlsl_ir_jump
|
||||
|
Reference in New Issue
Block a user