Jesse Natalie
6d52f08a76
dzn/ci: Remove 'exclude' for graphicsfuzz cases
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22926 >
2023-05-09 18:44:37 +00:00
Jesse Natalie
a4ce095bad
dzn: Use A4B4G4R4 instead of B4G4R4A4 when available
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22911 >
2023-05-09 00:17:16 +00:00
Jesse Natalie
421546c60d
ci/windows: Pick up WARP 1.0.6 NuGet with lots of dzn fixes
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22908 >
2023-05-08 22:58:58 +00:00
Jesse Natalie
dfc88a536b
dzn: Support all available depth/stencil resolve modes
...
Fixes dEQP-VK.imageless_framebuffer.depth_stencil_resolve and
dEQP-VK.renderpass2.depth_stencil_resolve.misc.properties
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22836 >
2023-05-04 03:10:56 +00:00
Jesse Natalie
cc66d546dd
microsoft/compiler: Unroll loops in opt passes
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22786 >
2023-05-01 21:12:43 +00:00
David Heidelberg
4f1716ebca
ci/dzn: add flaking test
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22766 >
2023-04-28 22:35:21 +02:00
Jesse Natalie
bc8f7c53af
ci/dzn: Run almost the full CTS
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22639 >
2023-04-25 15:36:01 +00:00
Caio Oliveira
aeec9071b5
spirv: Rework structured control flow handling
...
The new code splits the work into a few passes instead of trying to do
everything with a single pass. This helps to apply the new clarified
rules for structured control flow in the SPIR-V specification, in
particular the "exit construct" rules.
First find an appropriate ordering for the blocks, based on the
approach taken by Tint (WebGPU compiler). Then, with those blocks
in order, identify the SPIR-V constructs start and end positions.
Finally, walk the blocks again to emit NIR for each of them, "opening"
and "closing" the necessary NIR constructs as we reach the start and
end positions of the SPIR-V constructs.
There are a couple of interesting choices when mapping the constructs
to NIR:
- NIR doesn't have something like a switch, so like the previous code,
we lower the switch construct to a series of conditionals for each
case.
- And, unlike the previous code, when there's a need to perform a
break from a construct that NIR doesn't directly support (e.g. inside
a case construct, conditionally breaking early from the switch), we
now use a combination of a NIR loop and an NIR if. Extra code is
added to ensure that loop_break and loop_continues are propagated
to the right loop.
This should fix various issues with valid SPIR-V that previously
resulted in "Invalid back or cross-edge in the CFG" errors.
Thanks to Alan Baker and David Neto for their explanations of
ordering the blocks, in the Tint code and in presentations to
the SPIR-V WG.
Thanks to Jack Clark for providing a lot of valuable tests used to
validate this MR.
Closes : #5973 , #6369
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17922 >
2023-04-20 07:02:42 +00:00
Giancarlo Devich
cc6d87b462
d3d12: Update and require DirectX-Headers 1.610.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22454 >
2023-04-14 03:19:22 +00:00
Jesse Natalie
c0c16d1ae2
dzn: Remove xfail for test that passes (if run)
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22346 >
2023-04-07 19:11:11 +00:00
Jesse Natalie
e4da9c2dfc
dzn: Support >2K samplers with bindless
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22346 >
2023-04-07 19:11:11 +00:00
Jesse Natalie
b269c206c1
dzn: Remove skips now that WARP is faster
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22346 >
2023-04-07 19:11:11 +00:00
Jesse Natalie
71dbb3120a
dzn: Use GetResourceAllocationInfo3 for castable formats
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22346 >
2023-04-07 19:11:11 +00:00
Jesse Natalie
33051f1eb4
dzn: Early-out on no-op barriers
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22346 >
2023-04-07 19:11:11 +00:00
Jesse Natalie
24fce05f3f
CI/windows: Update headers and Agility redist to 1.710.0-preview
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22320 >
2023-04-06 09:14:22 +00:00
Jesse Natalie
19818ecc37
dzn: Support descriptor indexing via bindless
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21913 >
2023-03-23 21:48:44 +00:00
Jesse Natalie
24d5bdbb6e
ci/windows: Update warp to 1.0.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22034 >
2023-03-23 07:07:29 +00:00
Jesse Natalie
1c5a64296d
CI/windows: Don't limit deqp-runner to 4 jobs
...
If FDO_CI_CONCURRENT is set, use that, otherwise let deqp-runner
choose concurrency based on system CPU cores.
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20924 >
2023-01-27 01:49:19 +00:00
Jesse Natalie
a08d6d8b59
dzn: Support Vulkan 1.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20919 >
2023-01-26 03:16:50 +00:00
Jesse Natalie
12a471afac
dzn: Enable Vulkan 1.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20823 >
2023-01-24 17:22:25 +00:00
Jesse Natalie
5949521508
dzn/ci: Add image test group, which is all passing now
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20361 >
2023-01-13 21:55:41 +00:00
Jesse Natalie
889f03fc24
dzn/ci: Remove flakes/fails that don't hit anymore
...
The fails weren't causing pipeline failures because the tests just
aren't run, thanks to the dEQP fraction.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20361 >
2023-01-13 21:55:41 +00:00
Jesse Natalie
33e2444384
dzn: For CmdBindIndexBuffer, look at the graphics pipeline instead of last used
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20364 >
2023-01-04 11:12:34 -08:00
David Heidelberg
bc34217978
ci/dzn: add flake
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19858 >
2022-11-18 23:04:14 +00:00
Yonggang Luo
d1e1911d82
ci: Update dozen flakes
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7549
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19824 >
2022-11-17 23:42:46 +00:00
Jesse Natalie
6e7896aa44
dzn: Use DEPTH_STENCIL_DESC2 for front/back stencil read/write masks
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19537 >
2022-11-17 00:13:33 +00:00
David Heidelberg
e93de8a75e
dzn: add triangle_strip flake
...
Reference: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7672
Acked-by: Boris Brezillon <boris.brezillon@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19782 >
2022-11-16 17:49:50 +00:00
Caio Oliveira
e63d6ed85e
spirv: Make vtn_fail and friends trap in debug mode
...
The SPIR-V parser catches its failures and failed assertions, clean up
and return a failure to the caller. This is a good default behavior, but
when debugging sometimes is useful to hook the debugger right in the
failed assertion.
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19663 >
2022-11-13 07:07:56 +00:00
Jesse Natalie
798aa43b6b
microsoft/spirv2dxil: Lower sample pos for fragment shaders
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19471 >
2022-11-04 01:40:17 +00:00
Jesse Natalie
d79da61ffa
dzn: Set Agility SDK parameters and update test expectations
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178 >
2022-11-03 23:54:45 +00:00
Yonggang Luo
8897f309ca
ci: Trigger building visual studio docker image
...
Update Dozen fails for new deqp
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/19187 >
2022-10-20 22:52:06 +00:00
Jesse Natalie
9edc23f075
ci/windows: Update vk-gl-cts to pick up new zlib dependency
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19187 >
2022-10-20 22:52:06 +00:00
Erik Faye-Lund
e630637eab
dzn: expose VK_KHR_driver_properties
...
We're not quite conformant with the extension, because we don't have
a valid conformance version.
That's not a quick-fix, so we should probably just accept some failures
for now.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16998 >
2022-07-18 17:10:52 +02:00
Boris Brezillon
3129520a73
ci/dzn: Add pipeline cache tests to the include list
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17140 >
2022-06-28 13:02:23 +00:00
Enrico Galli
f367c55573
microsoft/spirv_to_dxil: Fix discard semantics
...
Unlike in nir, discard is not a super return in DXIL. Therefore, we
will lower discard and terminate to demote + return.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17179 >
2022-06-23 22:04:32 +00:00
Boris Brezillon
1987fb0091
ci/dzn: Move to a .toml description
...
This way we don't force a CI run on all platforms anytime we add a
group of test, and, as a bonus, we make dozen CI consistent with other
platforms.
Suggested-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Suggested-by: Emma Anholt <emma@anholt.net >
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/17074 >
2022-06-20 14:48:51 +00:00
Jesse Natalie
7a9617b869
dzn: Skip another test that times out occasionally
...
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17089 >
2022-06-16 23:00:27 +00:00
Yonggang Luo
d39553da10
ci/vs2019: Upgrade Windows 10 SDK version to 20348
...
This comes with stdalign.h for more C11 conformance
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/17044 >
2022-06-16 21:49:54 +00:00
Emma Anholt
ae432b67b7
ci/dzn: Skip a test that intermittently times out at a minute.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17054 >
2022-06-15 20:30:46 +00:00
Boris Brezillon
e46f4ec5f3
ci/windows: Skip dEQP-VK.api.command_buffers.record_many_draws*
...
Those tend to timeout, so let's skip them for now.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16971 >
2022-06-15 00:10:42 +00:00
Boris Brezillon
dd78dc25e7
ci/windows: Add dEQP-VK.dynamic_state.* to the test list
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16971 >
2022-06-15 00:10:42 +00:00
Boris Brezillon
672447be7f
ci/windows: Allow skipping deqp tests if we have to
...
Useful to skip tests that are known to crash.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16971 >
2022-06-15 00:10:42 +00:00
Boris Brezillon
c86ea7daa3
microsoft/spirv_to_dxil: Extract NIR passes out of spirv_to_dxil()
...
Extract NIR passes out of spirv_to_dxil() so we can re-use them
without separately and do the varying linking in Dozen. This way
we will also be able to use vk_shader_module_to_nir() which
takes care of the SPIRV -> NIR translation, plus a bunch of
common lowering passes.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16221 >
2022-06-08 15:17:05 +00:00
Boris Brezillon
ca5520c3cb
microsoft/compiler: Make sure all SV_Position components are written
...
Not entirely sure if writing to only some components of
gl_Position/SPIRV-PositionBuiltin from a vertex-processing stage is
allowed, but
https://github.com/dneto0/spirv-samples/blob/main/spvasm/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_OneAccessChain.spvasm
does exactly that.
Let's make sure all SV_Position components are written, otherwise the
DXIL validator complains.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16221 >
2022-06-08 15:17:05 +00:00
Boris Brezillon
447d448513
ci/windows: Bump spirv-samples commit-ID
...
We need the fix adding a Block decoration to the BuiltIn struct in
SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16221 >
2022-06-08 15:17:05 +00:00
Jesse Natalie
cb2cc69ebb
dzn: Update fails/flakes
...
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16756 >
2022-05-31 18:32:59 +00:00
Boris Brezillon
e018311b35
dzn: Add KHR_draw_indirect_count support
...
Unfortunately it's not as simple as passing the indirect draw count
buffer to ExecuteIndirect. The compute job that populate the execute
buffer also needs to know the number of entries that need to be
patched. Instead of transitioning the indirect count buffer from
GENERIC_READ to INDIRECT_ARGUMENT we just keep at as a read-only
resource and copy the draw_count value to the exec buffer in the
compute job.
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15914 >
2022-04-22 10:01:51 +00:00
Boris Brezillon
d01a149b8b
ci/windows: Split the windows-related tests
...
Should help with the timeouts we see in CI right now.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16042 >
2022-04-20 23:45:28 -07:00
Boris Brezillon
3e97d37c63
dzn: Add support for sampleRateShading
...
Forward the sample-rate shading info to spirv_to_dxil() so we can
claim to support sampleRateShading.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15916 >
2022-04-19 08:49:50 +00:00
Louis-Francis Ratté-Boulianne
3017522e74
dzn: Add CI target for vulkan driver
...
A custom branch of `deqp` is used to have proper results when
crashing. See:
https://github.com/KhronosGroup/VK-GL-CTS/issues/311
A custom branch of `deqp-runner` with Windows support is also
used until the changes are merged into the main repository.
The `api`, `info`, `draw`, `query-pool` and `memory` test cases are
executed for now.
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com >
Acked-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15742 >
2022-04-13 18:05:44 +00:00