mesa/src/gallium/drivers/llvmpipe
José Roberto de Souza 5a482a7a3d
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
gallium/llvmpipe/test: Rename rsqrtf() to _rsqrtf()
Some versions of math.h exports rsqrtf() while others don't, so this
was causing compilation to fail when it is supported.
I have not found a easy way to detect if rsqrtf() is supported and
as this is only used in a llvmpipe tests it is not worthy do changes
in Meson files to detected if it is supported.

So here just renaming the Mesa function to _rsqrtf() and fixing the
build for both math.h versions.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13797
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12934
Reviewed-by: Roland Scheidegger <roland.scheidegger@broadcom.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37515>
2025-09-23 14:02:23 +00:00
..
ci llvmpipe: fix incorrect scissor planes 2025-09-20 01:57:04 +00:00
lp_bld_alpha.c
lp_bld_alpha.h
lp_bld_blend.c llvmpipe: Fix alpha-to-coverage without dithering 2025-02-20 18:59:21 +00:00
lp_bld_blend.h llvmpipe: Fix alpha-to-coverage without dithering 2025-02-20 18:59:21 +00:00
lp_bld_blend_aos.c
lp_bld_blend_logicop.c
lp_bld_depth.c
lp_bld_depth.h
lp_bld_interp.c llvmpipe: Improve persepctive correction with centroid/sample interpolation 2025-07-11 21:48:09 +00:00
lp_bld_interp.h
lp_clear.c
lp_clear.h
lp_context.c all: rename pipe_shader_type to mesa_shader_stage 2025-08-06 10:28:40 +08:00
lp_context.h llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_cs_tpool.c
lp_cs_tpool.h
lp_debug.h
lp_draw_arrays.c all: rename PIPE_SHADER_GEOMETRY to MESA_SHADER_GEOMETRY 2025-08-06 10:28:39 +08:00
lp_fence.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
lp_fence.h llvmpipe: Implement EGL_ANDROID_native_fence_sync 2024-08-01 08:45:54 +00:00
lp_flush.c gallium: de-pointerize pipe_surface 2025-05-23 13:21:29 +00:00
lp_flush.h
lp_jit.c llvmpipe: Reduce the size of lp_descriptor 2025-05-20 20:10:16 +00:00
lp_jit.h llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_limits.h llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_linear.c
lp_linear_fastpath.c
lp_linear_interp.c
lp_linear_priv.h
lp_linear_sampler.c
lp_linear_sampler_tmp.h
lp_memory.c
lp_memory.h
lp_perf.c
lp_perf.h llvmpipe: Don't emit certain debug code when TSAN is enabled 2024-04-11 13:52:36 +00:00
lp_public.h
lp_query.c mesa: implement mesh shader queries 2025-08-22 10:01:57 +00:00
lp_query.h
lp_rast.c llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_rast.h llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_rast_debug.c
lp_rast_linear.c
lp_rast_linear_fallback.c llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_rast_priv.h llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_rast_rect.c
lp_rast_tri.c
lp_rast_tri_tmp.h llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_scene.c llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_scene.h gallium: fix pipe_framebuffer_state::view_mask 2025-03-05 09:15:22 +00:00
lp_scene_queue.c
lp_scene_queue.h
lp_screen.c llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_screen.h llvmpipe remove llvmpipe_screen::allow_cl 2025-06-02 07:13:54 +00:00
lp_setup.c llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_setup.h llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_setup_analysis.c
lp_setup_context.h llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_setup_line.c llvmpipe: fix incorrect scissor planes 2025-09-20 01:57:04 +00:00
lp_setup_point.c llvmpipe: Fix attribute interpolation setup when rendering lines with msaa 2025-07-29 21:52:01 +00:00
lp_setup_rect.c gallium: de-pointerize pipe_surface 2025-05-23 13:21:29 +00:00
lp_setup_tri.c llvmpipe: fix incorrect scissor planes 2025-09-20 01:57:04 +00:00
lp_setup_vbuf.c
lp_state.h llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_state_blend.c llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_state_clip.c
lp_state_cs.c gallium: add pipe_context::resource_release to eliminate buffer refcounting 2025-09-09 20:47:38 +00:00
lp_state_cs.h llvmpipe: add function name to gallivm_jit_function 2024-07-16 11:31:24 +10:00
lp_state_derived.c llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_state_fs.c llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_state_fs.h llvmpipe: implement GL_ARB_sample_locations 2025-09-20 01:57:05 +00:00
lp_state_fs_analysis.c treewide: use nir_def_as_* 2025-08-01 15:34:24 +00:00
lp_state_fs_fastpath.c llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_state_fs_linear.c treewide: Cleanup unused structs 2024-05-11 17:30:59 +00:00
lp_state_fs_linear_llvm.c gallivm: Handle nir_instr_debug_info 2025-03-04 18:42:48 +00:00
lp_state_gs.c llvmpipe: Stop refcounting sample functions 2024-01-22 20:29:40 +00:00
lp_state_rasterizer.c
lp_state_sampler.c gallium: add pipe_context::resource_release to eliminate buffer refcounting 2025-09-09 20:47:38 +00:00
lp_state_setup.c llvmpipe: Fix attribute interpolation setup when rendering lines with msaa 2025-07-29 21:52:01 +00:00
lp_state_setup.h llvmpipe: Fix attribute interpolation setup when rendering lines with msaa 2025-07-29 21:52:01 +00:00
lp_state_so.c gallium: pass XFB primitive mode to set_stream_output_targets 2024-12-20 08:22:52 +00:00
lp_state_surface.c gallium: de-pointerize pipe_surface 2025-05-23 13:21:29 +00:00
lp_state_tess.c llvmpipe: Stop refcounting sample functions 2024-01-22 20:29:40 +00:00
lp_state_vertex.c gallium: add pipe_context::resource_release to eliminate buffer refcounting 2025-09-09 20:47:38 +00:00
lp_state_vs.c llvmpipe: Stop refcounting sample functions 2024-01-22 20:29:40 +00:00
lp_surface.c llvmpipe: Add support for 8x MSAA. 2025-08-27 12:04:13 +00:00
lp_surface.h
lp_test.h
lp_test_arit.c gallium/llvmpipe/test: Rename rsqrtf() to _rsqrtf() 2025-09-23 14:02:23 +00:00
lp_test_blend.c gallivm: Add float operation behavior flags to lp_type 2024-12-03 16:15:25 +00:00
lp_test_conv.c gallivm: Add float operation behavior flags to lp_type 2024-12-03 16:15:25 +00:00
lp_test_format.c llvmpipe: add function name to gallivm_jit_function 2024-07-16 11:31:24 +10:00
lp_test_lookup_multiple.c llvmpipe/tests: add a new test for multiple symbols for orc jit testing 2024-07-16 11:31:24 +10:00
lp_test_main.c treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
lp_test_printf.c llvmpipe: add function name to gallivm_jit_function 2024-07-16 11:31:24 +10:00
lp_tex_sample.c
lp_tex_sample.h
lp_texture.c sw_winsys: Add winsys_handle to displaytarget_create_mapped 2025-09-13 06:47:58 +00:00
lp_texture.h llvmpipe: properly save llvmpipe_memory_allocation in memory_object 2024-09-26 08:26:32 +00:00
lp_texture_handle.c llvmpipe: Fix array mismatch when accessing shader images 2025-07-24 12:46:05 +00:00
lp_texture_handle.h llvmpipe: Compile size query functions on demand 2025-05-20 20:10:16 +00:00
meson.build gallium/meson: Deconflate swrast/softpipe/llvmpipe 2024-07-18 17:48:20 +00:00