mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -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
|
enum
|
||||||
{
|
{
|
||||||
VKD3D_BLOCK_MAIN,
|
|
||||||
VKD3D_BLOCK_IF,
|
VKD3D_BLOCK_IF,
|
||||||
VKD3D_BLOCK_ELSE,
|
VKD3D_BLOCK_ELSE,
|
||||||
VKD3D_BLOCK_LOOP,
|
VKD3D_BLOCK_LOOP,
|
||||||
@ -4215,7 +4214,6 @@ static void vkd3d_dxbc_compiler_emit_control_flow_instruction(struct vkd3d_dxbc_
|
|||||||
|
|
||||||
case VKD3DSIH_ENDIF:
|
case VKD3DSIH_ENDIF:
|
||||||
assert(compiler->control_flow_depth);
|
assert(compiler->control_flow_depth);
|
||||||
assert(cf_info->current_block != VKD3D_BLOCK_MAIN);
|
|
||||||
assert(cf_info->current_block != VKD3D_BLOCK_LOOP);
|
assert(cf_info->current_block != VKD3D_BLOCK_LOOP);
|
||||||
|
|
||||||
if (cf_info->current_block == VKD3D_BLOCK_IF)
|
if (cf_info->current_block == VKD3D_BLOCK_IF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user