Eric Engestrom
a0be8597ac
v3dv: use common GetPhysicalDeviceFeatures
...
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21959 >
2023-03-20 12:00:09 +00:00
Samuel Iglesias Gonsálvez
4378906885
docs/developers: Add Igalia as Mesa consultancy
...
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22020 >
2023-03-20 11:51:34 +00:00
Eric Engestrom
a7c051b5ac
v3d: fix dirty
bitset being too small to accept V3D_DIRTY_SSBO
...
Many of the `V3D_DIRTY_*` flags are above 32 bits, but for now the only
one used here is V3D_DIRTY_SSBO.
`shader->uniform_dirty_bits`, where `dirty` ends up, is already 64 bits.
Fixes: 45bb8f2957
("broadcom: Add V3D 3.3 gallium driver called "vc5", for BCM7268.")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22019 >
2023-03-20 09:29:40 +00:00
Timothy Arceri
29c71b8eb0
util/00-mesa-defaults: add Akka Arrh workaround
...
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21979 >
2023-03-20 07:18:41 +00:00
volodymyr.o
47e7b49c61
mesa ctx->API --> _mesa_is_foo(ctx)
...
replaces direct API checks with _mesa_is_...() checks
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8340
Signed-off-by: Volodymyr Obohzyn volodymyr.obozhyn@globallogic.com
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21556 >
2023-03-20 06:39:57 +00:00
Brian Paul
5e039dbf8e
gallium/xlib: call fence_finish() in XMesaSwapBuffers()
...
Before we can present the buffer we need to wait for the fence to
finish. This fixes severe flickering of unfinished rendering in
many demos/tests. This has been broken for a while, I think.
Note, this is for the non-DRI / Xlib-based GLX.
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21993 >
2023-03-20 06:05:47 +00:00
Oleksii Bozhenko
bbde684ca0
ci: Uprev Piglit
...
Signed-off-by: Oleksii Bozhenko <oleksii.bozhenko@globallogic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21810 >
2023-03-20 04:19:23 +00:00
Oleksii Bozhenko
bf910c94e0
glsl: fix gl_CullDistance lowering from float[8] to vec4[2]
...
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7152
Fixes: ad355652c2
("glsl: Extend lowering pass for gl_ClipDistance to support other arrays")
Signed-off-by: Oleksii Bozhenko oleksii.bozhenko@globallogic.com
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21810 >
2023-03-20 04:19:23 +00:00
Mike Blumenkrantz
ec31535ce0
zink: add debug markers for draws
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21962 >
2023-03-20 03:57:32 +00:00
Mike Blumenkrantz
af9bffd07d
zink: catch zs u_blitter ops for draw markers
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21962 >
2023-03-20 03:57:32 +00:00
Mike Blumenkrantz
c56b46638c
zink: round geometry for u_blitter debug markers
...
this otherwise gets weird values
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21962 >
2023-03-20 03:57:32 +00:00
Mike Blumenkrantz
3a9f7d7038
zink: implement unordered u_blitter calls
...
as long as a few bits of state are swapped around and none of the "main"
cmdbuf state is applied, it becomes possible to promote the entire
u_blitter operation to the unordered cmdbuf and execute it there as
a "transfer" operation that can continue to enable further reordering
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
4593f335f6
zink: add zink_context::unordered_blitting to preserve unordered flags
...
not currently used but will be used to wrap u_blitter
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
887f72990e
zink: split out pipeline rp info update function
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
9746e7253e
zink: manually apply barriers whenever zink_context::blitting is set
...
this simplifies some codepaths at runtime by short-circuiting some
of the more complex operations since it's already known in advance
exactly which images will be used for which purpose
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
07a5ede65a
zink: reset fb clears using the clears_enabled mask
...
iterating was fine before, but it will become problematic to reset
all the clears once they start being stashed for unordered ops
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
7411264ca6
zink: add a dynamic render version of clear_texture hook
...
this avoids the (sizable) overhead of going through the previous path
with set_frame_buffer state et al, instead just firing off a quick
begin+end rendering with a clear
it's also easily reorderable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
e1621d3e6d
zink: add a function for applying u_blitter barriers
...
this handles transitions for a sampler_view src -> framebuffer dst
operation
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
22fb4578a0
zink: end rp earlier in set_framebuffer_state
...
this way any barriers occuring from unbinds won't have to do rp calc
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:20 +00:00
Mike Blumenkrantz
63f425c7d2
zink: double check layouts for possible feedback loop images
...
if a feedback loop hasn't yet been added for an image with both
descriptor and fb binds, queue a check for that to avoid mismatch
affects godot-tps-gles3-high.trace
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:19 +00:00
Mike Blumenkrantz
7812f3844b
zink: add some asserts for zs layout in dynamic render
...
assert all the things
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21906 >
2023-03-20 02:26:19 +00:00
David Heidelberg
dc34413f43
meson: implement quirk for the compilation under armv7 GCC with LTO
...
Until https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108163 gets fixed.
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21554 >
2023-03-19 15:21:22 +00:00
David Heidelberg
afb82e553b
ci: disable weston session timeout for llvmpipe
...
Fixes: d57a4b57df
("ci: disable weston session timeout")
Cc: mesa-stable
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22004 >
2023-03-19 15:39:31 +01:00
David Heidelberg
fb3632d24f
ci: distribute XDG_RUNTIME_DIR with setup-test-env script
...
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8615
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8646
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22004 >
2023-03-19 15:39:12 +01:00
Rob Clark
210c6c11cc
freedreno+tu: Add a690 support
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21573 >
2023-03-18 18:21:53 +00:00
Rob Clark
b012a4a9cd
freedreno+tu: Big GMEM support
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21573 >
2023-03-18 18:21:53 +00:00
Rob Clark
60bc7c0e22
freedreno: Specify GMEM tile alignment per GPU
...
They differ presumably based on # of CCU/SP and DDR bus topology.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21573 >
2023-03-18 18:21:53 +00:00
Bas Nieuwenhuizen
ad4271439c
Update my mailmap aliases
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21998 >
2023-03-18 17:19:00 +00:00
Konstantin Seurer
0f18bb4076
radv: Fix inserting stack_size into the cache
...
Fixes: 3e03fe4
("radv/rt: move stack_sizes into radv_ray_tracing_module")
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21969 >
2023-03-18 14:57:51 +00:00
Konstantin Seurer
3887f64dc3
radv: Fix loading stack_size from the cache
...
Fixes: 3e03fe4
("radv/rt: move stack_sizes into radv_ray_tracing_module")
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21969 >
2023-03-18 14:57:51 +00:00
David Heidelberg
3823d4696a
ci/intel: add dEQP-EGL.functional.wide_color.window_fp16_default_colorspace flake
...
Occasionally flake since Wayland got enabled.
Acked-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21990 >
2023-03-18 14:20:44 +01:00
David Heidelberg
161799d2c7
ci/traces: add two skips due to flakes
...
The unvanquished flaked time to time from beginning, minetest-v2 has
occasional 1 tiny change in the pixel.
Acked-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21990 >
2023-03-18 14:20:41 +01:00
David Heidelberg
9e6c88c96b
ci/freedreno: add recent occasional flakes
...
Acked-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21990 >
2023-03-18 14:20:21 +01:00
Mike Blumenkrantz
9ed6487ba0
zink: expand ZINK_DEBUG=sync to cover copy ops
...
useful for debugging
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21999 >
2023-03-18 11:44:38 +00:00
Mike Blumenkrantz
e1bfae1d4d
zink: add tracing for copy ops
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21999 >
2023-03-18 11:44:38 +00:00
Iván Briano
4dd81b4e2f
intel/fs: handle interpolation modes for at_sample and at_offset too
...
Fixes dEQP-VK.draw.*.linear_interpolation.*
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19647 >
2023-03-18 10:18:15 +00:00
Tatsuyuki Ishi
22d6556a4b
radv: Fix missing wait of GS copy shader upload for dmashaders.
...
Fixes: 0cde42a506
("radv: Wait for shader uploads asynchronously.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21985 >
2023-03-18 03:04:15 +00:00
Jesse Natalie
3ce2b71193
dzn: Claim the arithmetic subgroup bit
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21996 >
2023-03-18 02:33:42 +00:00
Jesse Natalie
b4de74165d
spirv2dxil: Handle arithmetic subgroup ops
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21996 >
2023-03-18 02:33:42 +00:00
Jesse Natalie
ccc9540dae
microsoft/compiler: Add a lowering pass for scan ops that aren't supported
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21996 >
2023-03-18 02:33:42 +00:00
Jesse Natalie
981fe2bf42
microsoft/compiler: Implement wave reduce/exclusive scan ops that are supported
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21996 >
2023-03-18 02:33:42 +00:00
Marek Olšák
082368cd84
radeonsi: remove unused vs_output_param_mask
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21920 >
2023-03-17 23:58:28 +00:00
Marek Olšák
6eddc6dd5a
ac/nir: use plural correctly in the ac_nir_export_parameters name
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21920 >
2023-03-17 23:58:28 +00:00
Marek Olšák
3626bc2daa
ac/nir: don't emit duplicated parameter exports
...
Can you spot the problem?
exp param0 v6, v5, v5, v5
exp param1 v7, off, off, off
exp param1 v7, off, off, off
radeonsi uses ac_nir_optimize_outputs to eliminate output stores with
identical SSA defs (i.e. duplicated), which then causes 2 outputs to
map to the same parameter export.
This is a regression. The old LLVM code was correctly emitting each
export only once. vs_output_param_mask was supposed to be used for
this instead of vs_output_param_offset.
Fixes: 80506be31b
- ac/nir/ngg,radv,radeonsi: nogs use ac_nir_export_(position|parameter)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21920 >
2023-03-17 23:58:28 +00:00
José Roberto de Souza
c86d6c8af8
iris: Move to iris_i915_batch.c code to destroy i915 context
...
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21965 >
2023-03-17 23:29:43 +00:00
José Roberto de Souza
cb40ff3ecb
iris: Move to i915/iris_batch.c code to create and replace i915 context
...
Some helper functions in iris_bufmgr were also moved because the only
caller is in iris_i915_batch.
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21965 >
2023-03-17 23:29:43 +00:00
José Roberto de Souza
7a1d0b31a6
iris: Store iris_context's priority
...
This way when replacing a broken context we don't need to ask to
kernel what is the priority of the context being replaced.
Also this will be necessary for Xe kmd as it don't have any uapi to
query engine priority.
While doing that also taking the oportunity to move more code from
iris_bufmgr.c/h that only has one caller.
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21965 >
2023-03-17 23:29:43 +00:00
Brian Paul
75b9d0b3d8
llvmpipe: remove debug printf spam in lp_setup_wait_empty_scene()
...
Remove some stray debug code which spams the terminal.
Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21994 >
2023-03-17 23:02:35 +00:00
Martin Roukala (né Peres)
a882cf09c3
ci/b2c: increase the console timeout to 4 minutes
...
When downloading new containers, we can often trip the 2 minutes
console activity timeout. This will be improved in the next b2c
version[1] but let's increase it until we address it.
[1] https://gitlab.freedesktop.org/mupuf/boot2container/-/issues/51
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21983 >
2023-03-17 22:27:01 +00:00
Martin Roukala (né Peres)
d3c1cc9261
radv/ci: update VanGogh's expectations
...
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21983 >
2023-03-17 22:27:01 +00:00