mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
llvmpipe: Silence "possibly uninitialized value" warning for ssbo_limit (cont)
Fixes:ce611935df("llvmpipe: Silence "possibly uninitialized value" warning for ssbo_limit.") Signed-off-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30482> (cherry picked from commit9c8e75e256)
This commit is contained in:
parent
23383aa41d
commit
5c903880f9
2 changed files with 2 additions and 2 deletions
|
|
@ -1734,7 +1734,7 @@
|
|||
"description": "llvmpipe: Silence \"possibly uninitialized value\" warning for ssbo_limit (cont)",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ce611935df5e7e6cc731523c7496c33ba6f7ef20",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -3848,7 +3848,7 @@ atomic_emit(
|
|||
LLVMValueRef atom_res = lp_build_alloca(gallivm,
|
||||
uint_bld->vec_type, "");
|
||||
|
||||
LLVMValueRef ssbo_limit;
|
||||
LLVMValueRef ssbo_limit = NULL;
|
||||
if (!is_shared) {
|
||||
ssbo_limit = LLVMBuildAShr(gallivm->builder, bld->ssbo_sizes[buf], lp_build_const_int32(gallivm, 2), "");
|
||||
ssbo_limit = lp_build_broadcast_scalar(uint_bld, ssbo_limit);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue