Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:RISCV
Mesa
24302-llvmpipe-make-unnamed-global-have-interna...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 24302-llvmpipe-make-unnamed-global-have-internal-linkage.patch of Package Mesa
From cb1ab2daca83a023301a682b922aeeabe48813d5 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 3155e81d26b..2f5f577805c 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -3310,6 +3310,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.44.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor