Home
last modified time | relevance | path

Searched refs:vtn_if (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c415 struct vtn_if *if_stmt = ralloc(b, struct vtn_if); in vtn_cfg_walk_blocks()
732 struct vtn_if *vtn_if = (struct vtn_if *)node; in vtn_emit_cf_list() local
736 nir_push_if(&b->nb, vtn_ssa_value(b, vtn_if->condition)->def); in vtn_emit_cf_list()
737 if (vtn_if->then_type == vtn_branch_type_none) { in vtn_emit_cf_list()
738 vtn_emit_cf_list(b, &vtn_if->then_body, in vtn_emit_cf_list()
741 vtn_emit_branch(b, vtn_if->then_type, switch_fall_var, &sw_break); in vtn_emit_cf_list()
745 if (vtn_if->else_type == vtn_branch_type_none) { in vtn_emit_cf_list()
746 vtn_emit_cf_list(b, &vtn_if->else_body, in vtn_emit_cf_list()
749 vtn_emit_branch(b, vtn_if->else_type, switch_fall_var, &sw_break); in vtn_emit_cf_list()
Dvtn_private.h148 struct vtn_if { struct