Giovanni Mascellani
c3f01d7db9
tests: Mark two other tessellation tests as buggy on MoltenVK.
...
I haven't investigated the actual problem here, but the generated
Vulkan commands look correct (and work with basically all other
Vulkan implementations) and MoltenVK is known to have incomplete
tessellation support, so it's likely that the problem is there.
2025-03-17 15:14:23 +01:00
Giovanni Mascellani
8cf61c859d
tests: Mark a few other timestamp query tests as buggy on MoltenVK.
...
Similarly to 5d4edba925 , it seems
that sometimes MoltenVK returns 0 to timestamp queries. It
doesn't happen deterministically and it might depend on the
hardware (I have seen differences between the M2 I used some
time ago and the M3 Max I have now).
2025-03-17 15:14:23 +01:00
Giovanni Mascellani
101f070f12
ci: Define VKD3D_TEST_DEBUG when running the CI scripts.
...
Essentially to make d3d12.log more readable.
2025-03-17 15:14:23 +01:00
Henri Verbeet
0dff53ada7
build: Add @DL_LIBS@ to tests_vkd3d_shader_api_LDADD.
...
It uses dxcompiler_create(), which (potentially) uses dlopen().
2025-03-17 15:13:42 +01:00
Giovanni Mascellani
674614cc7a
vkd3d-shader/ir: Disallow IMMCONSTBUFFER registers in destination parameters.
2025-03-17 15:12:13 +01:00
Giovanni Mascellani
0761d73e9c
vkd3d-shader/ir: Disallow CONSTBUFFER registers in destination parameters.
2025-03-17 15:12:13 +01:00
Giovanni Mascellani
0c9c29fb34
vkd3d-shader/ir: Validate CONSTBUFFER registers.
2025-03-17 15:11:52 +01:00
Henri Verbeet
808931b108
vkd3d-shader/glsl: Implement VKD3DSIH_XOR.
2025-03-17 15:07:51 +01:00
Nikolay Sivov
ba79890398
vkd3d-shader/fx: Support dumping parameter and array selector assignments for fx_2_0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-17 15:05:14 +01:00
Nikolay Sivov
ff7591171b
vkd3d-shader/fx: Dump complex state value blobs for fx_2_0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-17 14:54:26 +01:00
Nikolay Sivov
fb16ae2325
vkd3d-shader/fx: Add support for dumping fx_2_0 shader blobs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-17 14:48:12 +01:00
Nikolay Sivov
36e1a0ceae
vkd3d-shader/fx: Add support for parsing fx_2_0 sampler states.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-17 14:46:36 +01:00
Nikolay Sivov
3e86484091
vkd3d-shader/fx: Read fx_2_0 assignment data outside of its dumping helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-17 14:46:36 +01:00
Nikolay Sivov
fb5d53bf57
vkd3d-shader/fx: Add a helper to escape printed strings.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-17 14:46:18 +01:00
Giovanni Mascellani
fc4316f664
tests/shader_runner: Avoid creating devices for backends that won't execute.
...
My main motivation to this is avoiding generating a lot of useless
log lines from other executors when I'm interested in just one of
them, but I can imagine this also somewhat improving efficiency.
2025-03-17 14:01:22 +01:00
Giovanni Mascellani
0b273ea88c
tests: Store the compiler string in the shader runner capabilities.
...
Just like the executor.
2025-03-17 13:50:19 +01:00
Shaun Ren
a4f58be00c
vkd3d-shader/hlsl: Remove the unused hlsl_array_type_to_string() declaration.
...
Accidentally introduced in 870c68dd27 .
2025-03-13 14:02:26 +01:00
Elizabeth Figura
c9a5f586b7
vkd3d-shader/hlsl: Zero-initialize "nonconst_i" and "ret_swizzle" in copy_propagation_replace_with_deref().
...
GCC without LTO is unable to determine that these are never used
uninitialized.
2025-03-13 13:59:05 +01:00
Francisco Casas
09b9f8ff9f
vkd3d-shader/hlsl: Fix invalidation of the wrong components in copy-propagation.
...
Fixes: 1bba18aa75 .
2025-03-12 22:14:25 +01:00
Francisco Casas
bff9068a7f
tests: Add a hard test for copy-propagation invalidation.
...
This test is currently miscompiling on SM4 because
copy_propagation_invalidate_variable_from_deref_recurse() is not always
invalidating the right components.
2025-03-12 22:14:15 +01:00
Elizabeth Figura
a87b1efbd2
vkd3d-shader/hlsl: Don't invalidate OOB constant derefs.
2025-03-12 22:09:57 +01:00
Elizabeth Figura
193e40c271
vkd3d-shader/hlsl: Stop checking for failure from intrinsic_float_convert_arg().
2025-03-12 22:02:39 +01:00
Elizabeth Figura
7b5b5dbb8d
vkd3d-shader/hlsl: Do not abort when performing an invalid implicit cast.
2025-03-12 22:02:39 +01:00
Elizabeth Figura
2ee19c4d34
vkd3d-shader/hlsl: Do not abort when performing an invalid explicit cast.
2025-03-12 22:02:39 +01:00
Elizabeth Figura
25f476c7ad
vkd3d-shader/hlsl: Return an error expression from add_cast() on allocation failure.
2025-03-12 22:02:39 +01:00