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
Boris Brezillon
04d812b2d0
Revert "ci: Disable windows-vs2019"
...
This reverts commit 04b80489d5 .
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15518 >
2022-03-24 09:11:13 +00:00
Alyssa Rosenzweig
04b80489d5
ci: Disable windows-vs2019
...
Currently down.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15148 >
2022-02-23 15:12:41 +00:00
Daniel Stone
7a0ace7d4e
Revert "ci: Disable Windows for now"
...
This reverts commit be385ab5bc .
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14975 >
2022-02-10 16:44:16 +00:00
Daniel Stone
be385ab5bc
ci: Disable Windows for now
...
Docker on Windows is broken for some reason, so just disable it for now.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14970 >
2022-02-10 12:51:06 +00:00
Boris Brezillon
ef47a6800b
microsoft/spirv_to_dxil: Make sure the SampleMask is a uint
...
DXIL doesn't like when SV_Coverage (AKA SampleMask in DXIL) is a
signed integer. Fix the type while we're in the NIR domain.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14765 >
2022-01-31 20:21:25 +00:00
Boris Brezillon
27790c4a7a
microsoft/spirv_to_dxil: Remove dead variables after the struct split pass
...
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14765 >
2022-01-31 20:21:25 +00:00
Jesse Natalie
14ed624ff3
microsoft/compiler: Force integer I/O vars to use flat/constant interpolation
...
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14399 >
2022-01-26 01:31:35 +00:00
Jesse Natalie
413f398cff
ci/windows: Use 2 container stages
...
The first container stage ("build") is for dependencies of the build.
These are infrequently-changing things like Visual Studio, LLVM, git,
and also meson. The second container stage ("test") currently depends
on the first, and adds test dependencies like piglit.
This lets us rev piglit without having to rebuild LLVM.
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14637 >
2022-01-21 22:38:16 +00:00
Daniel Stone
56886459c5
Revert "ci: disable vs2019 windows build"
...
This reverts commit 567a9550d7 .
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14513 >
2022-01-12 21:45:11 +00:00
Lionel Landwerlin
567a9550d7
ci: disable vs2019 windows build
...
Failing with :
error during connect: In the default daemon configuration on
Windows, the docker client must be run with elevated privileges to
connect.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/auth :
open //./pipe/docker_engine: The system cannot find the file
specified.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14509 >
2022-01-12 09:04:29 +00:00
Jesse Natalie
f4d247c2e3
microsoft/compiler: Support lowered io (nir_intrinsic_load_input/store_output)
...
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14175 >
2021-12-20 08:20:11 -08:00
Caio Oliveira
3415b51b1c
ci/windows: Remove line numbers of SPIR-V errors in spirv2dxil tests
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14245 >
2021-12-17 23:04:55 +00:00
Jesse Natalie
46ef1e8389
ci/windows: Remove line numbers from assertions in spirv2dxil tests
...
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14156 >
2021-12-11 03:43:11 +00:00
Jesse Natalie
45354be410
microsoft/compiler: Implement inot
...
Fixes: cb283616 ("nir/algebraic: Small optimizations for SpvOpFOrdNotEqual and SpvOpFUnordEqual")
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14140 >
2021-12-10 23:23:29 +00:00
Lionel Landwerlin
4c703686db
spirv: handle ray query intrinsics
...
v2: Fixup comment (Caio)
Use generated builders (Caio)
v3: Update spirv2dxil CI expectations
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13718 >
2021-12-04 20:46:35 +00:00
Jesse Natalie
7afb4aba3f
CI/windows: Move reference files to relevant ci subdirectories
...
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13902 >
2021-12-01 18:26:15 +00:00
Jesse Natalie
c70e31c4d5
CI/windows: Move SPIRV-to-DXIL test YML to microsoft folder
...
Reviewed-by: Enrico Galli <enrico.galli@intel.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13902 >
2021-12-01 18:26:15 +00:00