Martin Roukala (né Peres)
660412c63d
ci/init-stage2: use the common scripts from the build artifact
...
This unifies the behaviour between the LAVA, baremetal, and CI-Tron
farms by ensuring every job has access and runs the same scripts.
The init-* scripts are however still sourced from outside the build
artifact, hopefully not for too long.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33026 >
2025-01-16 04:07:42 +00:00
Marek Olšák
28ac423288
radeonsi: remove unused functions
...
also fix missing "inline" in amdgpu.bo.h
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Marek Olšák
03ad2bc782
radeonsi: make many shader functions static or move them to .c files
...
- many non-inline functions are only used in 1 .c file: make them static
- some inline functions are only use in 1 .c file: move them there
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Marek Olšák
583348e3b6
radeonsi: remove unused variables from si_shader_context (LLVM)
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Marek Olšák
13edb27ad5
radeonsi: add si_screen::use_aco to shader cache key to fix shader cache failures
...
Cc: mesa-stable
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Marek Olšák
1f5220b03d
ac/llvm: remove the low-optimizing compiler option
...
Not needed with ACO. It was used for big shaders on old APUs that took
forever to compile.
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Marek Olšák
08a47fa05c
ac/llvm: lower vector load_const in NIR
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Marek Olšák
d160252270
ac: use Z_EXPORT_FORMAT=32_AR for Z + Alpha mrtz exports
...
This should be faster than 32_ABGR.
Also, stencil exports are changed from UINT16_ABGR to 32_GR,
which should have no effect on performance.
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Marek Olšák
0d961b0723
nir: add barycentric coordinates src to load_point_coord_maybe_flipped
...
Just like other input loads, radeonsi needs to know the barycentric
coordinates for it. This adds the src and determines the optimal barycentric
coordinates in nir_lower_point_smooth, the only producer of the intrinsic.
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33046 >
2025-01-16 02:58:03 +00:00
Icenowy Zheng
97412fca25
zink: use lazy descriptors for IMG proprietary drivers
...
When using Zink with VK_EXT_descriptor_buffer enabled on IMG proprietary
drivers, the rendering behavior is incorrect and uniforms are not
updated properly (the gears of es2gears_x11 become all red and
overlaps).
Use lazy descriptors for IMG proprietary driver unless explicitly
overriden for testing purpose.
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32343 >
2025-01-16 02:27:00 +00:00
Gurchetan Singh
9c1b69a5b5
gfxstream: remove references to Fuchsia Goldfish
...
Everything will be virtio...
Reviewed-by: Aaron Ruby <aruby@qnx.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33050 >
2025-01-16 01:51:39 +00:00
Felix DeGrood
0ff8534008
intel/perf: add new perf consts to support more metrics
...
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32909 >
2025-01-16 00:01:56 +00:00
Christian Gmeiner
10f04dc3df
egl/meson: Specify which symbols to export
...
The goal is to reduce symbol pollution, especially when building
with Perfetto support, which previously led to an excessive number
of exported symbols.
objdump -T build/src/egl/libEGL_mesa.so.0.0.0 | grep perfetto | wc -l
- before: 6963
- after: 0
The new egl.sym version script explicitly exports only relevant egl and
MesaGLInteropEGL symbols, while marking all others as local.
While this change effectively removes all Perfetto-related exported symbols,
some C++ standard library symbols remain as undefined. These are pulled in
by the linker due to dependencies.
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33001 >
2025-01-15 23:18:36 +00:00
Collabora's Gfx CI Team
3f6f55e891
Uprev Piglit to 631b72944f56e688f56a08d26c8a9f3988801a08
...
4c0fd15fd9...631b72944f
Reviewed-by: Sergi Blanch Torné <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32642 >
2025-01-15 22:24:33 +00:00
Sil Vilerino
8f696d8d97
d3d12: Enable Warnings C4267, C4996, C4146, C4244, C4389, C4838, C4302, C4018 in src/gallium/drivers/d3d12 subtree
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
585ce7e831
d3d12_video_enc.h/cpp Fix warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
98ebb0b2e9
d3d12_video_dec.h/cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
bb5fb4d75d
d3d12_video_enc_hevc.cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
33b5df7c39
d3d12_video_enc_h264.cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
acefedbb35
d3d12_video_enc_av1.cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
a4aedaf783
d3d12_video_proc.h/cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'const unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
fa6f1e05f0
d3d12_video_dec_hevc.cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'const unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
68ac1ed1c5
d3d12_video_dec_vp9.cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'const unsigned int', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
b5b08d1ac7
d3d12_video_dec_h264: Fix warning C4244 uint64_t to size_t cast
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
b970b32939
d3d12_resource: Fix warning C4244 for x86 builds assign uint64_t to uintptr_t
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
0e478c3566
d3d12_video_encoder_bitstream_builder_h264: Fix warning C4244 for x86 builds assign uint64_t to size_t
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
8bfe3976d9
util: cpu_detect.c Fix warning C5274: behavior change: _Alignas no longer applies to the type '<unnamed-tag>' (only applies to declared data objects)
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
819558903c
d3d12_bufmgr.cpp: Fix warning C4244 for x86 builds assign uint64_t to size_t
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
46ed17cf69
d3d12: Add offset limit check to d3d12_resource_from_memobj
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
73cdb980bf
d3d12: Fix warning C4018 signed/unsigned mismatch
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
15dd8cd9a8
d3d12: Fix warning C4389: An == or != operation involved signed and unsigned variables. This could result in a loss of data.
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
56484fd010
d3d12: Fix warning C4244 'argument' : conversion from 'type1' to 'type2', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
978fd1cebe
d3d12: Fix warning C4267 conversion from 'size_t' to 'type', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
e061792e25
src/compiler: Fix warning C4389: An == or != operation involved signed and unsigned variables. This could result in a loss of data.
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
8ecb7bc2a2
src/compiler: Fix warning C4244 'argument' : conversion from 'type1' to 'type2', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
4d653c7df9
util: Fix warning C4244 'argument' : conversion from 'type1' to 'type2', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
6a724af20d
src/gallium/auxiliary/util/u_draw.h: Fix C4244 'argument' : conversion from 'type1' to 'type2', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
b5617058e4
u_math.h: Change power of two assert to fix warning C4146: unary minus operator applied to unsigned type, result still unsigned
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Sil Vilerino
8f8438bd8c
u_dynarray.h: Fix warning C4267 conversion from 'size_t' to 'type', possible loss of data
...
Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979 >
2025-01-15 21:40:20 +00:00
Manuel Dun
9ab62e6452
Gfxstream: Initial mingw "compilable" Windows version of mesa/gfxstream
...
Initial "compilable" version of mesa/gfxstream on Windows. For now it is
achieved through "#if !DETECT_OS_WINDOWS" directives hence it is NOT
functional. The compilation works with mingw only and the compilation is
tested in a windows host. This commit is intended to only pass the
compilation process without errors.
Also created stub code for a future windows implementation.
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32795 >
2025-01-15 20:57:18 +00:00
Aleksi Sapon
f4eb6fde8f
llvmpipe: LLVM v2f32 trunc/floor/ceil/nearbyint generates optimal x86 code since at least version 8
...
Based on the tests committed here:
f9afee479f
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32964 >
2025-01-15 20:20:34 +00:00
Aleksi Sapon
0b2664635f
llvmpipe: fix lp_test_arit on Windows
...
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32964 >
2025-01-15 20:20:34 +00:00
Konstantin Seurer
5de7a7c5a6
gallivm: Take helper invocations into account when skipping branches
...
if %cond {
%store_reg (%reg, %val)
}
can be skipped if no invocations are active. This did not take helper
invocations into account, meaning the value of %reg could be garbage for
helper invocations.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31802 >
2025-01-15 17:55:38 +00:00
Aaron Ruby
e862bb52bd
gfxstream: Remove internal vk_util.h and vk_struct_id.h entirely
...
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Aaron Ruby <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33006 >
2025-01-15 17:19:13 +00:00
Aaron Ruby
e9663276f4
vulkan/util: Add c99_compat.h inclusion for cpp 'restrict' compatibility
...
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Aaron Ruby <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33006 >
2025-01-15 17:19:13 +00:00
Aaron Ruby
f766c64c3a
gfxstream: Fix unused variable warnings in ResourceTracker.cpp
...
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Aaron Ruby <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33006 >
2025-01-15 17:19:13 +00:00
Aaron Ruby
6923af6cc4
gfxstream: Remove VK_HOST_CONNECTION macro
...
Only need the encoder, the rest was replaced by the
SetupInstanceForProcess() routine.
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Aaron Ruby <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33006 >
2025-01-15 17:19:13 +00:00
Aaron Ruby
1e69e910ca
gfxstream: Some cleanup in manual entrypoints
...
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Aaron Ruby <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33006 >
2025-01-15 17:19:13 +00:00
Mike Blumenkrantz
b73d66e0c0
lavapipe: stop using pipeline layouts in some places
...
no functional changes
Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32931 >
2025-01-15 16:12:27 +00:00
Mike Blumenkrantz
f6ff8bdf74
lavapipe: unsupport NV_device_generated_commands
...
this is no longer useful
Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32931 >
2025-01-15 16:12:27 +00:00