mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
llvmpipe: Fix MSVC warning C4334 (32bit shift cast to 64bit)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-By: Bill Kristiansen <billkris@microsoft.com> Cc: mesa-stable@lists.freedesktop.org Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
This commit is contained in:
parent
4a3f044473
commit
b678115480
1 changed files with 1 additions and 1 deletions
|
|
@ -720,7 +720,7 @@ generate_fs_loop(struct gallivm_state *gallivm,
|
|||
else
|
||||
mask_val = LLVMBuildOr(builder, s_mask, mask_val, "");
|
||||
|
||||
LLVMValueRef mask_in = LLVMBuildAnd(builder, s_mask, lp_build_const_int_vec(gallivm, type, (1 << s)), "");
|
||||
LLVMValueRef mask_in = LLVMBuildAnd(builder, s_mask, lp_build_const_int_vec(gallivm, type, (1ll << s)), "");
|
||||
sample_mask_in = LLVMBuildOr(builder, sample_mask_in, mask_in, "");
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue