David Heidelberg
b3b883ca00
bin/ci: mention requirements.txt
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22078 >
2023-05-28 15:19:42 +02:00
Christopher Snowhill
92a7cba4f2
intel: Sync xe_drm.h
...
My second attempt at a minimally invasive reshuffle of the uAPI,
this time only forcibly aligning structures to 32-bits or 64-bits
depending on the members which follow, so that 64-bit userspace
is identical to the current unmerged kernel module, and the 32-bit
compat userspace aligns with that, and functions rather than
crashing.
Should work just fine with the current drm-xe-next Git tree, which
is rebased on 6.3.0-1, with a few extra changes, as of this commit.
Based on commit 2cd469458fcc24c5f345ad39721a1aedaf70ec0f ("drm/xe: Add explicit padding to uAPI definition")
Signed-off-by: Christopher Snowhill <kode54@gmail.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22652 >
2023-05-27 03:56:18 +00:00
Marek Olšák
264cf37348
radeonsi: re-enable fp16_rtz for compute blits to fix PBO tests on gfx11
...
Fixes: bcdde99675
- radeonsi: don't convert to fp16 in the compute blit if not testing
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
cc199c2baa
radeonsi: update test results and flakes
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
c5806422a5
radeonsi: reduce the supported compute grid size
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
ebb784f268
radeonsi/gfx11: use DISABLE_FOR_AUTO_INDEX to disable non-indexed prim restart
...
DISABLE_FOR_AUTO_INDEX disables primitive restart for non-indexed draws.
We set it in the preamble first, so that non-indexed draws can completely
ignore the primitive restart state.
There is a little bit of duplication that's needed to enclose the primitive
restart code in "if (index_size)" for indexed draws.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
1f90a2be60
radeonsi: move emitting draws states out of si_emit_all_states
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
9d7eab2ab1
radeonsi: don't enable WGP_MODE because of high cost of workgroup mem coherency
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
038fb6573a
radeonsi: remove the gl_SampleMask FS output if MSAA is disabled
...
It's better to remove the output than what the previous code did,
which only unset MASK_EXPORT_ENABLE.
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
7b95be3575
radeonsi: cosmetic changes in si_shader.h
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
b914c2601c
radeonsi: reorder code in si_texture_create_object as preparation for the future
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
dcbe4b89ea
radeonsi/gfx11: fix alpha-to-coverage with blending
...
Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8222
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
2f6665efc5
ac/llvm: use LLVM 0/1 constants from ac_llvm_context instead of LLVMConstInt
...
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/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
39da12b7c7
ac/llvm: clean up visit_load_local_invocation_index and visit_load_subgroup_id
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
1dd2fa01c7
ac/llvm: clean up translation of nir_intrinsic_load_invocation_id
...
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
ea7c89d1f5
ac/surface: move determing ADDR_FMT_* into a helper function
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:59 -04:00
Marek Olšák
78d5626d17
ac/surface: move CB format translation helpers here
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:27:50 -04:00
Marek Olšák
8642740aef
ac/gpu_info: give has_msaa_sample_loc_bug a more accurate name
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23216 >
2023-05-26 23:17:40 -04:00
Jesse Natalie
587ad3430d
ci/windows: Update WARP to 1.0.7
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23267 >
2023-05-26 22:50:50 +00:00
Jesse Natalie
0373b02cf6
dxil: Don't run opt_remove_phis before lower_returns
...
nir_lower_returns will run nir_opt_remove_phis as part of its work
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913 >
2023-05-26 18:31:30 +00:00
Jesse Natalie
cc136cacfa
radv: Don't run opt_remove_phis before lower_returns
...
nir_lower_returns will run nir_opt_remove_phis as part of its work
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913 >
2023-05-26 18:31:30 +00:00
Jesse Natalie
505b81b8c1
nir: Add undef phi srcs when adding successors
...
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913 >
2023-05-26 18:31:30 +00:00
Jesse Natalie
5d238c0c2c
nir_lower_returns: Optimize phis before beginning the pass
...
This adds a little extra work, since now dominance is computed and
blocks that don't just have then-return or else-return are looked at.
However it means that nir_lower_returns can now keep phis up to date
by inserting undefs without causing some phis to become non-trivial.
This ends up obviating a couple of tests for lower_returns.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913 >
2023-05-26 18:31:30 +00:00
Eric Engestrom
a1b27c364f
panfrost: rename *.cc files to *.cpp
...
This extension caused them to be missed by clang-format.
Suggested-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23264 >
2023-05-26 18:07:38 +01:00
Eric Engestrom
63c3768cf3
panfrost: fix formatting of a couple of files that were missed
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23264 >
2023-05-26 18:07:36 +01:00
Eric Engestrom
480204aeed
ci: show diff when clang-format check fails
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23258 >
2023-05-26 16:04:57 +00:00
Eric Engestrom
648b5f3070
ci: split clang-format list of folders for easier maintenance
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23258 >
2023-05-26 16:04:57 +00:00
Mykhailo Skorokhodov
564562eb05
mesa: Implement GL_CLEAR_TEXTURE flag
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7455
Signed-off-by: Mykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com >
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21682 >
2023-05-26 15:13:54 +00:00
Eric Engestrom
d240a630e7
wsi/display: drop unused parameters from local functions
...
These are all local functions, so it's trivial to add back any parameter
should they become useful.
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20566 >
2023-05-26 14:34:17 +00:00
Gert Wollny
d55427f3d6
ci: uprev virglrenderer to include changes needed for GL 4.6 support
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23196 >
2023-05-26 13:25:18 +00:00
Gert Wollny
fa03154077
features: Update virgl features
...
Depending on host features we now support OpenGL 4.6
Signed-of-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23196 >
2023-05-26 13:25:18 +00:00
Gert Wollny
cc6b0b20d8
virgl: enable ARB_gl_spirv
...
This is handled in the guest and can just be enabled.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23196 >
2023-05-26 13:25:18 +00:00
Gert Wollny
2428fce2e6
virgl: signal support for group vote and draw parameters
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23196 >
2023-05-26 13:25:18 +00:00
Gert Wollny
9ce5fa758d
virgl: Submit drawid_offset if is not zero
...
This is needed in the case of multi-draw to evaluate the right gl_DrawID
in the shader.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23196 >
2023-05-26 13:25:18 +00:00
Gert Wollny
d4fc359748
virgl: Fix IB upload when a start >0 is given
...
We don't need to add an offset in the buffer, because we submit
the offset where the data was written to to the host. The
correction of this offset is also not needed and results in draw
errors.
Fixes: 0cf5d1f226
gallium: remove PIPE_CAP_INFO_START_WITH_USER_INDICES and fix all drivers
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23196 >
2023-05-26 13:25:18 +00:00
Lionel Landwerlin
8ebb9e2c13
anv: opportunistically align VMA to 2Mb
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Tested-by: José Roberto de Souza <jose.souza@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198 >
2023-05-26 12:58:13 +00:00
Lionel Landwerlin
28efc785d3
anv: further reduce pool alignments
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Tested-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198 >
2023-05-26 12:58:13 +00:00
Lionel Landwerlin
9c67dde401
intel: reduce minimum memory alignment on Gfx12.5
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Tested-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198 >
2023-05-26 12:58:13 +00:00
Lionel Landwerlin
6dbe165b2a
anv: update aux-tt alignment requirements for MTL
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Tested-by: José Roberto de Souza <jose.souza@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198 >
2023-05-26 12:58:13 +00:00
Lionel Landwerlin
7ffd0f409e
iris: add a comment about aux-tt alignment requirements
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Tested-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198 >
2023-05-26 12:58:13 +00:00
Lionel Landwerlin
195fbffac8
intel: add alignment helper for aux map
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Tested-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198 >
2023-05-26 12:58:13 +00:00
Mike Blumenkrantz
b772499a09
zink: don't propagate psiz in quads emulation gs
...
this is pointless
haha.
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23240 >
2023-05-26 12:16:05 +00:00
Mike Blumenkrantz
09678079c3
zink: don't remove psiz from linked shaders if the consumer reads it
...
it's valid for psiz to be piped through successive stages, so don't
delete it unnecessarily
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23240 >
2023-05-26 12:16:04 +00:00
Eric Engestrom
c81b78041e
meson: simplify another "any of" check
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22491 >
2023-05-26 11:30:26 +00:00
Eric Engestrom
5feb6133d7
ci/intel: reuse iris_file_list instead of copying its definition
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22456 >
2023-05-26 10:37:22 +00:00
Eric Engestrom
51482b2c6a
bin/ci: fix mistakenly hardcoded repo name in get_gitlab_project()
...
It didn't matter so far because all callers always pass "mesa".
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23223 >
2023-05-26 10:13:09 +00:00
Eric Engestrom
6801de5170
ci/amd: only define AMDGPU_GPU_ID for the duration of the call
...
This avoids the risk of accidentally forgetting to overwrite it again in
a later call.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23249 >
2023-05-26 09:34:53 +00:00
Eric Engestrom
0a33701558
ci/amd: move AMD-specific LD_PRELOAD to AMD config
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23249 >
2023-05-26 09:34:53 +00:00
Samuel Pitoiset
f76b121610
ci: uprev vkd3d-proton to 2.9
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23162 >
2023-05-26 09:01:09 +00:00
Samuel Pitoiset
d2d07a7262
radv: fix copying 2D to 3D images
...
CTS is testing 2D to 3D image copies but the checks are incomplete and
we used to only copy the first slice.
This should fix
dEQP-GLES31.functional.copy_image.non_compressed.*.texture2d_array_to_texture3d
with ANGLE.
Cc: mesa-stable
Suggested-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23231 >
2023-05-26 08:41:31 +00:00