Commit Graph

81 Commits

Author SHA1 Message Date
a89ceb6590 tests/shader_runner_vulkan: Avoid using ok() for shader compilation failues in create_graphics_pipeline().
Using ok() may result in todo's succeeding when create_shader_stage()
succeeds, but vkCreateGraphicsPipelines() fails. There's not much point
in using ok() here in the first place though, because ultimately the
draw operation is going to fail when shader compilation failed.
2024-11-11 15:54:21 +01:00
96c13aeb97 tests: Silence a bogus -Wmaybe-uninitialized. 2024-10-28 18:01:06 +01:00
5188883142 tests/shader_runner: Set "properties2.sType" in get_physical_device_info() in the Vulkan runner.
Found by the Vulkan validation layers.
2024-10-28 17:59:18 +01:00
aeae8322da tests: Add a test for actual multisample loads.
The existing test loads from a single sample texture.
2024-10-28 17:58:05 +01:00
cc340b2838 tests/shader_runner: Handle render target sizes other than 640x480. 2024-10-28 17:58:05 +01:00
e452519dcb tests/shader_runner: Build a varying map in the Vulkan runner.
This adds todos to two tests. The tests in question have mismatching masks
and previously failed Vulkan validation anyway.
2024-10-28 17:29:25 +01:00
d12a9738a0 tests/shader_runner: Compile HLSL for all stages before compiling SPIRV. 2024-10-28 17:29:25 +01:00
d287e0d8a6 tests/shader_runner: Split HLSL and SPIRV compilation in the Vulkan shader runner. 2024-10-28 17:29:23 +01:00
b492ebc374 tests/shader_runner: Store shader sources as an array. 2024-10-28 17:23:06 +01:00
ccdac48923 tests/shader_runner: Get rid of the "dxbc_ptr" parameter to create_shader_stage(). 2024-10-28 17:13:35 +01:00
d39e840c14 tests/shader_runner: Store shader caps using an array. 2024-10-28 16:20:27 +01:00
dff7c0e7b8 tests: Mark interface packing pipeline creation as todo on MoltenVK.
Most Vulkan drivers are happy to compile a pipeline with interstage
interface mismatches, even if the pipeline will be broken. Metal,
and therefore MoltenVK, instead doesn't and errors out immediately.
2024-10-22 20:32:51 +02:00
6fd1a1ce7e tests: Test point sprite. 2024-10-22 19:14:05 +02:00
bc351f4b70 tests/shader-runner: Make geometry shaders optional.
This allows the Vulkan runner to execute in environments which do
not support geometry shaders, most notably MoltenVK. In particular,
that enables SM<4 shaders to run in such environments
2024-10-15 16:55:15 +02:00
cd249a47b8 tests: Test FFP point size clamping. 2024-10-10 22:44:33 +02:00
ec53e325b6 tests: Test FFP point size. 2024-10-10 22:30:35 +02:00
a29a4288d2 tests: Add a test for shader point size output. 2024-10-10 21:50:30 +02:00
fcb09be6e3 tests/shader-runner: Move the Vulkan helper functions to vulkan_utils.h. 2024-10-08 20:34:03 +02:00
ce83628882 tests/shader-runner: Move struct vulkan_test_context to vulkan_utils.h. 2024-10-08 20:34:03 +02:00
fc65170521 tests/shader_runner: Introduce struct vulkan_test_context for the Vulkan runner. 2024-10-08 20:34:03 +02:00
3b1760134f tests: Test clip planes. 2024-10-02 21:49:54 +02:00
3eb2a3d0e4 tests/shader_runner: Introduce a 'depth-bounds' test option. 2024-09-11 14:53:21 +02:00
0e72aba0bc Release 1.13. 2024-08-29 12:08:46 +02:00
b701f8d393 tests/shader_runner: Explicitly require UAV load support.
The used UAV formats are explicitly added in the [require] section of
every test that uses them.

Some of these tests were failing on Intel UHD graphics 770 because of
missing support for additional UAV load types, explicitly requiring
these formats allows these tests to be skipped.
2024-08-22 16:22:18 +02:00
947b937a1a tests: Test shade mode. 2024-07-24 16:08:10 +02:00