mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-shader: Get rid of VKD3D_BLOCK_MAIN.
This commit is contained in:
parent
8a047a8eb7
commit
646385e871
@ -1754,7 +1754,6 @@ struct vkd3d_control_flow_info
|
||||
|
||||
enum
|
||||
{
|
||||
VKD3D_BLOCK_MAIN,
|
||||
VKD3D_BLOCK_IF,
|
||||
VKD3D_BLOCK_ELSE,
|
||||
VKD3D_BLOCK_LOOP,
|
||||
@ -4215,7 +4214,6 @@ static void vkd3d_dxbc_compiler_emit_control_flow_instruction(struct vkd3d_dxbc_
|
||||
|
||||
case VKD3DSIH_ENDIF:
|
||||
assert(compiler->control_flow_depth);
|
||||
assert(cf_info->current_block != VKD3D_BLOCK_MAIN);
|
||||
assert(cf_info->current_block != VKD3D_BLOCK_LOOP);
|
||||
|
||||
if (cf_info->current_block == VKD3D_BLOCK_IF)
|
||||
|
Loading…
Reference in New Issue
Block a user