Yonggang Luo
b7773fd105
util: Define WIN32_LEAN_AND_MEAN before include of windows.h in u_thread.h
...
This is a prepare for move the c11 threads implementation into c source code
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15087 >
2022-06-15 17:37:17 +00:00
Yonggang Luo
be00a7c8ac
glx: using C++11 keyword thread_local
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15087 >
2022-06-15 17:37:16 +00:00
Yonggang Luo
0f3064ee44
intel: using C++11 keyword thread_local
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15087 >
2022-06-15 17:37:16 +00:00
Chia-I Wu
af0080c4ef
turnip: advertise VK_EXT_border_color_swizzle
...
We already support the functionality so just advertise it. Pass all
dEQP-VK*border_swizzle*.
v2: update freedreno-a630-fails.txt
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17019 >
2022-06-15 15:48:47 +00:00
Samuel Pitoiset
4480e577a4
zink/ci: update list of failures again
...
Only two tests have been fixed and the list has been incorrectly
updated.
Fixes: b240be28e3 ("zink: check for pending clears to determine write status of zs attachments")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16975 >
2022-06-15 13:14:17 +00:00
Samuel Pitoiset
8589230602
radv/ci: add GLES/GLCTS testing with Zink on NAVI10
...
This includes GLES{2,3,21} and GL46.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16975 >
2022-06-15 13:14:17 +00:00
Samuel Pitoiset
8ffabb2511
ci/valve: split .b2c-test into .b2c-test-vk and .b2c-test-gl
...
We have to use a different test image for GL.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16975 >
2022-06-15 13:14:17 +00:00
Samuel Pitoiset
c895e5d140
zink/ci: change the surface type used for dEQP
...
This was for vk-cts-image, but it seems like Mesa CI only supports
pbuffer.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16975 >
2022-06-15 13:14:17 +00:00
Brian Paul
470f8b2267
llvmpipe: asst. clean-ups in lp_scene.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
99dcb5bcec
llvmpipe: asst. clean-ups in lp_tex_sample.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
a14fd548f5
llvmpipe: asst. clean-ups in lp_linear_sampler.c
...
Whitespace fixes.
Move loop var decls into loops.
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
dde4f9969c
llvmpipe: fix comment typo in lp_bld_interp.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
eeb9938c64
gallivm: asst. clean-ups in lp_bld_nir.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
7f4d1c7486
llvmpipe: misc clean-ups in lp_bld_interp.c
...
Remove trailing whitespace.
Replace unsigned with enum types.
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
846900fe3f
gallivm: minor clean-ups in lp_bld_sample_soa.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
5a1ad575c8
llvmpipe: asst. clean-ups in lp_rast_priv.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
27decb562e
llvmpipe: asst. clean-ups in lp_rast_tri_tmp.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
0230d7a771
llvmpipe: asst. clean-ups in lp_bld_blend_aos.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
10b9958aab
llvmpipe: misc clean-up in lp_rast_tri.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
1e3d8791a6
llvmpipe: minor clean-ups in lp_state_fs_analysis.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
b81b24c67d
llvmpipe: minor whitespace/formatting cleanups in lp_state_setup.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
f5e2c6d86e
llvmpipe: whitespace clean-ups in lp_rast.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
26eeb0a090
llvmpipe: asst. clean-ups in lp_setup_tri.c, lp_setup_rect.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
c9cb9eec05
llvmpipe: asst. clean-ups in lp_state_fs_linear.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
03b256f405
llvmpipe: asst. clean-ups in lp_state_fs_linear_llvm.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
b61f3334d4
llvmpipe: minor clean-ups in lp_jit.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:05 +00:00
Brian Paul
c6bd6140de
llvmpipe: asst. clean-ups in lp_state_fs.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
3717acdc43
gallivm: clean-ups in lp_bld_tgsi.[ch]
...
And move/rename LP_MAX_INSTRUCTIONS.
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
9a4504af59
gallivm: asst. clean-ups in lp_bld_sample_soa.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
f921a55d83
llvmpipe: asst. clean-up in lp_setup_context.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
f18a23d87c
gallivm: clean-up in lp_bld_sample.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
dee76459ca
llvmpipe: asst. clean-up and add comments in lp_state_fs.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
8432e0ee3d
llvmpipe: asst. clean-ups in lp_scene.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
c1ddfa15a4
llvmpipe: asst. clean-ups in lp_linear.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
b3dc37d22d
llvmpipe: asst. clean-ups in lp_rast.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
e060d7747d
llvmpipe: fix comment typo in lp_linear_fastpath.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
d10f61db0d
llvmpipe: asst. clean-ups in lp_rast_linear.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
5622b802e2
llvmpipe: asst. clean-up in lp_state_derived.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
5f671de486
gallivm: add const qualifier in lp_bld_nir_soa.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
3d6192c0b8
gallivm: clean-up in lp_bld_nir.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
aa9bd004a9
gallivm: cleanup lp_bld_arit.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
059afb8a90
gallivm: asst. clean-ups in lp_bld_type.[ch]
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
7111d20832
llvmpipe: asst. clean-ups in lp_state_setup.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
97e8837b44
llvmpipe: asst. clean-ups in lp_setup.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
fe48f5adff
llvmpipe: asst. clean-ups in lp_linear_fastpath.c
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
ff619d9cc5
gallivm: asst. clean-ups in lp_bld_sample.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
f203bfb375
gallivm: whitespace fixes in lp_bld_tgsi.h
...
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Brian Paul
1c2d1ad7ba
gallivm: assorted clean-ups in lp_bld_nir_aos.c
...
Whitespace fixes. Wrap lines to 78 chars. Add const qualifiers, etc.
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937 >
2022-06-15 12:30:04 +00:00
Yonggang Luo
29baa326b9
microsoft/spirv_to_dxil: Fixes maybe-uninitialized compiling error in dxil_spirv_nir.c
...
Fixes following errors:
../src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
In file included from ../src/compiler/nir/nir_builder.h:365,
from ../src/microsoft/compiler/dxil_nir.h:29,
from ../src/microsoft/spirv_to_dxil/dxil_spirv_nir.c:28:
../src/microsoft/spirv_to_dxil/dxil_spirv_nir.c: In function 'dxil_spirv_nir_passes':
src/compiler/nir/nir_builder_opcodes.h:1321:11: error: 'dyn_yz_flip_mask' may be used uninitialized in this function [-Werror=maybe-uninitialized]
1321 | return nir_build_alu2(build, nir_op_iand, src0, src1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/microsoft/spirv_to_dxil/dxil_spirv_nir.c:290:59: note: 'dyn_yz_flip_mask' was declared here
290 | nir_ssa_def *y_flip_mask = NULL, *z_flip_mask = NULL, *dyn_yz_flip_mask;
| ^~~~~~~~~~~~~~~~
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16671 >
2022-06-15 11:38:24 +00:00
Yonggang Luo
2e79e4b6d8
microsoft/clc: Add missing void to no-parameter function signature
...
Fixes this warning:
../../src/microsoft/clc/clc_compiler.c:1218:10: error: no previous prototype for 'clc_compiler_get_version' [-Werror=missing-prototypes]
1218 | uint64_t clc_compiler_get_version()
| ^~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16671 >
2022-06-15 11:38:24 +00:00