mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +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>
(cherry picked from commit b678115480)
This commit is contained in:
parent
478b898521
commit
b1e42faa1c
2 changed files with 2 additions and 2 deletions
|
|
@ -382,7 +382,7 @@
|
|||
"description": "llvmpipe: Fix MSVC warning C4334 (32bit shift cast to 64bit)",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -719,7 +719,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