Projects
Factory:RISC-V:Base
mesa
_service:tar_scm:0003-llvmpipe-make-unnamed-glo...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0003-llvmpipe-make-unnamed-global-have-internal-linkage.patch of Package mesa
From f5fd902716a5d9feccb958d0792ddcda514e72f2 Mon Sep 17 00:00:00 2001 From: Alex Fan <alex.fan.q@gmail.com> Date: Mon, 28 Nov 2022 22:29:44 +1100 Subject: [PATCH] llvmpipe: make unnamed global have internal linkage work around bug https://github.com/llvm/llvm-project/issues/54813 Being unnamed makes it not useable from other module, therefore changing to internal linkage is safe Signed-off-by: Alex Fan <alex.fan.q@gmail.com> --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 533f402b053..19c4d652af6 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -3306,6 +3306,7 @@ generate_fragment(struct llvmpipe_context *lp, LLVMValueRef glob_sample_pos = LLVMAddGlobal(gallivm->module, LLVMArrayType(flt_type, key->coverage_samples * 2), ""); + LLVMSetLinkage(glob_sample_pos, LLVMInternalLinkage); LLVMValueRef sample_pos_array; if (key->multisample && key->coverage_samples == 4) { -- 2.39.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2