diff options
| author | Yonggang Luo <luoyonggang@gmail.com> | 2023-06-23 00:24:20 +0800 |
|---|---|---|
| committer | Yonggang Luo <luoyonggang@gmail.com> | 2023-06-27 18:18:27 +0800 |
| commit | 7b45a0bd666f54c3b5497ea0db19b5ed2db7dd02 (patch) | |
| tree | add2708d2d253c6a289cec9c3c95daada4467bca /src/gallium/auxiliary/gallivm/lp_bld_ir_common.h | |
| parent | b65e745168df47fad8dd32d4ec2aced0e002fa2f (diff) | |
treewide: replace usage of boolean to bool
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23577>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_ir_common.h')
| -rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_ir_common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h b/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h index ebcf9a21b26..0e0a7f74f1b 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h @@ -48,8 +48,8 @@ enum lp_exec_mask_break_type { struct lp_exec_mask { struct lp_build_context *bld; - boolean has_mask; - boolean ret_in_main; + bool has_mask; + bool ret_in_main; LLVMTypeRef int_vec_type; @@ -76,13 +76,13 @@ struct lp_exec_mask { LLVMValueRef switch_val; LLVMValueRef switch_mask; LLVMValueRef switch_mask_default; - boolean switch_in_default; + bool switch_in_default; unsigned switch_pc; } switch_stack[LP_MAX_TGSI_NESTING]; int switch_stack_size; LLVMValueRef switch_val; LLVMValueRef switch_mask_default; /* reverse of switch mask used for default */ - boolean switch_in_default; /* if switch exec is currently in default */ + bool switch_in_default; /* if switch exec is currently in default */ unsigned switch_pc; /* when used points to default or endswitch-1 */ LLVMValueRef loop_limiter; |