Eric Anholt
f113b55e25
ci/broadcom: Skip another texelfetch case.
...
This one has also flaked a pipeline recently with a timeout.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22177 >
2023-03-29 17:36:53 +00:00
Iago Toral Quiroga
40a00fc065
v3dv: fix format swizzle for buffer views
...
Fixes:
dEQP-VK.api.buffer_view.access.uniform_texel_buffer.b8g8r8a8_unorm
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22131 >
2023-03-27 20:16:04 +00:00
Iago Toral Quiroga
3647b05ae9
v3dv: pause occlusion queries during vkCmdClearAttachments
...
We implement this by emitting a draw call, which should not be registered
during occlusion query counting.
Fixes:
dEQP-VK.query_pool.occlusion_query*clear*
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22131 >
2023-03-27 20:16:04 +00:00
David Heidelberg
5e0c8a6555
ci/broadcom: test occasionally fails, but typically passes
...
Flake still present.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22125 >
2023-03-27 02:10:43 +02:00
Eric Engestrom
f5d325a8d0
v3d: add link to issue investigating failure
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22089 >
2023-03-23 15:22:05 +00:00
Eric Engestrom
099a537e51
v3d/ci: group dEQP-GLES3.functional.texture.specification.teximage2d_pbo.* flakes and add another one
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22063 >
2023-03-22 07:24:28 +00:00
Alyssa Rosenzweig
7b0133b30f
v3d,v3dv: Use udiv_imm/umod_imm
...
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22010 >
2023-03-22 06:18:18 +00:00
Juan A. Suarez Romero
c10a9372d6
v3d: implement NV_conditional_render extension
...
The hardware doesn't support native conditional rendering, so it is
implemented by software.
Code borrowed from Freedreno and Panfrost.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17373 >
2023-03-21 12:31:24 +00:00
Juan A. Suarez Romero
94de8767aa
v3d: include offset as part of streamout target
...
When dealing with multiple Transform Feedback buffers, each of them
needs to have their own offset, so when resuming from one to another we
know exactly were to continue adding primitives.
Fixes "spec@arb_transform_feedback2@change objects while paused (gles3)"
piglit test.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17373 >
2023-03-21 12:31:24 +00:00
Iago Toral Quiroga
1e28f2a6f2
broadcom/compiler: track pending ldtmu count with each TMU lookup
...
And use this information when scheduling QPU to avoid merging
a new TMU request into a previous ldtmu instruction when doing
so may cause TMU output fifo overflow due to a stalling ldtmu.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22044 >
2023-03-21 11:29:05 +00:00
Eric Engestrom
12cf314dd8
v3d/ci: add another depthstencil-default_fb-drawpixels-* to the flakes
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22026 >
2023-03-20 16:51:18 +00:00
Eric Engestrom
20ba9b9faa
v3dv: use vk_get_physical_device_features
...
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:10 +00:00
Eric Engestrom
d94625d110
v3dv: reorder features as 1.0, 1.1, 1.2, 1.3
...
Easier to follow than 1.0, 1.3, 1.2, 1.1 :)
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
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
Alejandro Piñeiro
20a066e9ab
v3dv/debug: add debug option to disable TFU codepaths
...
This can have two main uses:
* If we suspect a problem with TFU copies, we can disable it and
check if other codepaths gets a test/app working.
* To test other codepaths, as in general, TFU is the preferred
option for copies.
Note that for now this is only for v3dv, as for v3d, mipmap generation
uses TFU without an alternative codepath.
With this option we also adds an assert if we try to submit a TFU job,
just in case we keep adding other methods that use TFU, and forget to
include the debug option there.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21952 >
2023-03-17 15:20:25 +00:00
Eric Engestrom
8f6126e21a
v3dv/ci: fix test name (,Fail is not part of the test name)
...
Fixes: a0bf0adade ("ci/broadcom: move rare failure to the flakes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21954 >
2023-03-16 12:03:14 +00:00
Eric Engestrom
a0bf0adade
ci/broadcom: move rare failure to the flakes
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21901 >
2023-03-14 18:26:31 +00:00
Eric Engestrom
76b591d8f7
broadcom/ci: no need to skip the tests that swap buffers anymore
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21877 >
2023-03-14 01:31:19 +00:00
Eric Engestrom
e29772f134
v3dv: split out broadcom_shader_stage_to_gl() calls to improve readability
...
This is an inline function with a compile-constant switch, so I expect
the compiler wouldn't produce any better code like this, but for humans
it's easier to read when function calls are not embedded into other
function calls.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21835 >
2023-03-10 10:38:43 +00:00
Eric Engestrom
a19739f1b0
v3dv/ci: add a test to the known failures
...
New test since the 1.3.5 update, and running it on older mesa it would
have always failed, so it's not a regression
-> let's just mark it as a known failure
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21792 >
2023-03-09 09:19:21 +00:00
Juan A. Suarez Romero
baff509924
v3d/v3dv: define performance counters in common
...
Both OpenGL and Vulkan drivers share the same performance counters.
Let's move them to a common place instead of duplicating.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21420 >
2023-03-07 18:57:41 +00:00
Eric Engestrom
30d469215b
v3d/ci: add dEQP-GLES3.functional.texture.specification.teximage2d_pbo.*_cube flakes
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21735 >
2023-03-06 19:02:37 +00:00
Eric Engestrom
c4e2400461
v3dv: add linker script to fix android symbols
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21631 >
2023-03-04 07:41:10 +00:00
Samuel Pitoiset
f775873f81
ci: uprev CTS to 1.3.5.0
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21390 >
2023-03-03 08:23:21 +00:00
Mario Kleiner
bf5cfb6486
v3dv: Enable (leased) direct display extensions.
...
Enable support for the following extensions, which are already supported
by the driver and shared wsi code, and were just missing enables inside
v3dv_device:
VK_EXT_direct_mode_display, VK_EXT_acquire_drm_display,
VK_EXT_acquire_xlib_display.
Successfully tested on RPi 400, RaspberryPi OS 11, with X11 RandR output
leasing to lease a RandR output and use it for direct display mode.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com >
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21529 >
2023-02-28 11:30:07 +00:00
Mike Blumenkrantz
7c8a5f6e37
vulkan/wsi: switch to using an options struct for last param
...
this makes adding values easier since the drivers won't need to be updated
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21447 >
2023-02-27 13:21:21 +00:00
Faith Ekstrand
96c832c47e
spirv: Always emit deref_buffer_array_length intrinsics
...
All the drivers have been converted to setting this option now except
imagination and they don't support SSBOs yet.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3993
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21446 >
2023-02-24 20:37:10 +00:00
Faith Ekstrand
fbeb81d812
v3dv: Set spirv_options::use_deref_buffer_array_length
...
It'll get lowered to get_ssbo_size by nir_lower_explicit_io() so the
driver should never notice this change.
Acked-by: Caio Oliveira <caio.oliveira@intel.com >
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21446 >
2023-02-24 20:37:10 +00:00
Eric Engestrom
c392cdf750
v3d: update supertuxkart reference after 1c028a4d5b
...
The smoke effect now looks smoother instead of having hard steps, which
looks like a reasonable change given that 1c028a4d5b added
several float formats:
https://eric.pages.freedesktop.org/-/mesa/-/jobs/36691458/artifacts/results/summary/results/trace@broadcom-rpi4@supertuxkart@supertuxkart-mansion-egl-gles-v2.trace.html
Fixes: 1c028a4d5b ("v3d: support r{g,gba}16f formats for vertex buffers")
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21462 >
2023-02-22 23:08:21 +00:00
Alejandro Piñeiro
dd3b67b974
v3dv: handle ASPECT_MEMORY_PLANE aspect flags when getting plane number
...
As we support VK_EXT_image_drm_format_modifier, we could receive
VK_IMAGE_ASPECT_MEMORY_PLANE_0/1/2_BIT_EXT flags.
Fixes several tests like this:
dEQP-VK.drm_format_modifiers.create_explicit_modifier.*
when using CTS 1.3.5.0
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21463 >
2023-02-22 16:27:43 +00:00
Eric Engestrom
2809bb8499
broadcom/ci: re-enable egl on wayland
...
Swap them, as suggested by @enunes, to avoid a ton of timeouts in
wayland if the x11 tests ran first.
Needs to be investigated, but at least like this we can get the CI
coverage back.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21453 >
2023-02-22 12:59:04 +00:00
Eric Engestrom
67b2f48645
broadcom/ci: add two known failures
...
The first one in a Pass on both the rpi and the simulator, while the second
one is skipped as NotSupported on both. No idea why it's failing on the
CI, but at least it's consistently failing...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21453 >
2023-02-22 12:59:04 +00:00
Eric Engestrom
50361c71f4
broadcom/ci: skip buffer_age.no_preserve and swap_buffers_with_damage on wayland
...
They hang the runner, but they all pass fine on my rpi.
Will need investigating, but for now skip them.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21453 >
2023-02-22 12:59:04 +00:00
Eric Engestrom
d01fded429
broadcom/ci: drop create_pixmap_surface from the fails; it passes now
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21453 >
2023-02-22 12:59:04 +00:00
Eric Engestrom
ccc61357d5
broadcom/ci: add x11- prefix to x11 EGL tests
...
Makes things more obvious now that we're enabling wayland as well.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21453 >
2023-02-22 12:59:04 +00:00
Eric Engestrom
9390766b83
broadcom/ci: use weston's xwayland instead of starting X as well
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21449 >
2023-02-21 16:50:54 +00:00
Eric Engestrom
5425064c53
broadcom/ci: group x11 and wayland variant of the same test failing
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21449 >
2023-02-21 16:50:54 +00:00
Daniel Schürmann
2bb369dd8d
nir: add assertions that loops don't have a Continue Construct
...
Hoping that I didn't miss any, this *should* add assertions
to all functions and passes which explicitly handle 'nir_loop'.
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13962 >
2023-02-21 10:41:11 +00:00
Eric Engestrom
3b853964c6
broadcom/ci: use deqp-runner to run piglit tests
...
This is what other jobs are standardizing to.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21297 >
2023-02-18 02:33:59 +00:00
Eric Engestrom
9b58bb9d22
broadcom/ci: fold .vc4-rpi3-piglit:armhf into its only user
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21297 >
2023-02-18 02:33:59 +00:00
Eric Engestrom
2eb8716be8
broadcom/ci: refactor a bit
...
Just moving things around, no functional change.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21297 >
2023-02-18 02:33:59 +00:00
Timothy Arceri
34e11963fa
ci: enable dEQP-VK.ubo.random.all_shared_buffer.48
...
The previous commits fix the slow compile time, allowing us to
enable this test.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5152
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20381 >
2023-02-16 23:31:59 +00:00
Iago Toral Quiroga
93952916c6
v3dv: fix stencil view aspect selection of depth/stencil image
...
Instead of fixing the swizzle to X001, we should compose this
swizzle with the image view's own swizzle.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21354 >
2023-02-16 14:47:39 +00:00
Eric Engestrom
723569d71e
broadcom/ci: mark test as flaky
...
It passed once here: https://gitlab.freedesktop.org/gdevi/mesa/-/jobs/36317041
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21295 >
2023-02-14 00:52:35 +00:00
Yonggang Luo
09061e2fe9
vulkan: Use static_assert for check HWVULKAN_DISPATCH_MAGIC == ICD_LOADER_MAGIC
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21210 >
2023-02-10 07:21:31 +00:00
Iago Toral Quiroga
fec15a225f
v3dv: ensure we apply binning syncs to secondary command buffers
...
Currently, we postpone binning syncs until we record draw calls
and can validate if any of them require accessing protected
resources in the binning stage, however, if the draw calls are
recorded in a secondary command buffer and the barriers have
been recorded in the primary command buffer, we won't apply the
binning sync in the secondary when we record the draw calls
and so we must apply it when we execute the secondary in the
primary.
Fixes flakyness in:
dEQP-VK.api.command_buffers.record_many_draws_secondary_2
cc: mesa-stable
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21162 >
2023-02-07 14:07:19 +01:00
Iago Toral Quiroga
c2601f0690
v3dv: ensure at least V3D_CL_MAX_INSTR_SIZE bytes in last CL instruction
...
The CLE parser in the sim will read this many bytes for each instruction
in a CL, so we should ensure we have at least that many bytes available
in the BO when reading the last instruction, otherwise we can trigger
a GMP violation. It is not clear whether this behavior applies to real
hardware too.
cc: mesa-stable
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21162 >
2023-02-07 14:06:57 +01:00
Alejandro Piñeiro
1a1fa2393e
v3d/v3dv: use shader_info->var_copies_lowered
...
Instead of passing allow_copies as a parameter for v3d_optimize_nir
(so manually doing that tracking).
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19338 >
2023-02-06 22:11:34 +00:00
Konstantin Seurer
9104dafb6f
vulkan,nir: Refactor ycbcr conversion state into a struct
...
This will be useful for RADV since it hashes the state.
v3dv changes:
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20731 >
2023-02-06 18:36:29 +00:00
Ian Romanick
ea413e826b
nir: Eliminate nir_op_f2b
...
Builds on the work of !15121 . This gets to delete even more code
because many drivers shared a lot of code for i2b and f2b.
No shader-db or fossil-db changes on any Intel platform.
v2: Rebase on 1a35acd8d9 .
v3: Update a comment in nir_opcodes_c.py. Suggested by Konstantin.
v4: Another rebase. Remove f2b stuff from Midgard.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20509 >
2023-02-03 22:39:57 +00:00