Giovanni Mascellani
fd33d51b1b
tests: Mark tessellation.shader_test as todo on MoltenVK.
...
Tessellation shaders are currently not supported there.
2024-10-28 17:35:18 +01:00
Giovanni Mascellani
e83387d8b7
tests: Mark geometry.shader_test as todo on MoltenVK.
...
Geometry shaders are currently not supported there.
2024-10-28 17:33:35 +01:00
Giovanni Mascellani
d6efdeea61
tests: Dispatch just four invocations when testing for wave reconvergence.
...
I don't know why I put a 4 both in the numthreads() attribute and as
a dispatch parameter, but only care about only one thread group.
2024-10-28 17:31:24 +01:00
Giovanni Mascellani
5667da7b80
tests: Use the appropriate RTV format in bitwise.shader_test.
2024-10-28 17:31:24 +01:00
Elizabeth Figura
212333bfa6
tests: Add a test for sm1 inter-stage interface matching.
2024-10-28 17:29:25 +01:00
Elizabeth Figura
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
Elizabeth Figura
d12a9738a0
tests/shader_runner: Compile HLSL for all stages before compiling SPIRV.
2024-10-28 17:29:25 +01:00
Elizabeth Figura
d287e0d8a6
tests/shader_runner: Split HLSL and SPIRV compilation in the Vulkan shader runner.
2024-10-28 17:29:23 +01:00
Elizabeth Figura
b3eee0a323
tests/shader_runner: Centralize the compile_hlsl() helper in shader_runner.c.
2024-10-28 17:23:10 +01:00
Elizabeth Figura
591ae5e18e
tests/shader_runner: Store the dxc_compiler in the shader_runner.
2024-10-28 17:23:10 +01:00
Elizabeth Figura
b492ebc374
tests/shader_runner: Store shader sources as an array.
2024-10-28 17:23:06 +01:00
Elizabeth Figura
ccdac48923
tests/shader_runner: Get rid of the "dxbc_ptr" parameter to create_shader_stage().
2024-10-28 17:13:35 +01:00
Elizabeth Figura
d39e840c14
tests/shader_runner: Store shader caps using an array.
2024-10-28 16:20:27 +01:00
Giovanni Mascellani
ae1d62f6a0
tests: Consider LOD miscalculation a todo rather than a driver bug.
2024-10-28 15:32:03 +01:00
Nikolay Sivov
5eff8bf918
vkd3d-shader/hlsl: Handle SV_GroupIndex.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-10-24 20:54:04 +02:00
Henri Verbeet
d48f7409fe
tests/shader_runner: Print the test context in fatal_error().
...
In particular, this gets us line numbers.
2024-10-24 20:53:45 +02:00
Henri Verbeet
5e9edf25d0
vkd3d-shader/glsl: Implement VKD3DSIH_GATHER4.
2024-10-24 20:52:37 +02:00
Henri Verbeet
d477a00734
vkd3d-shader/glsl: Implement VKD3DSIH_SAMPLE_GRAD.
2024-10-24 20:52:37 +02:00
Henri Verbeet
d58282c6d1
vkd3d-shader/glsl: Implement VKD3DSIH_SAMPLE_LOD.
2024-10-24 20:52:37 +02:00
Henri Verbeet
85697d76be
vkd3d-shader/glsl: Implement VKD3DSIH_UMAX and VKD3DSIH_UMIN.
2024-10-24 20:52:37 +02:00
Henri Verbeet
6a119b6946
vkd3d-shader/glsl: Implement VKD3DSGF_FORCE_EARLY_DEPTH_STENCIL.
2024-10-24 20:52:37 +02:00
Henri Verbeet
21e9029177
vkd3d-shader/glsl: Implement VKD3DSIH_SAMPLE_C_LZ.
2024-10-22 20:39:31 +02:00
Henri Verbeet
5958e527e5
vkd3d-shader/glsl: Implement VKD3DSIH_SAMPLE_C.
2024-10-22 20:39:31 +02:00
Henri Verbeet
19c493722e
vkd3d-shader/glsl: Implement VKD3DSIH_SAMPLE_B.
2024-10-22 20:39:31 +02:00
Henri Verbeet
e408f1d984
vkd3d-shader/glsl: Implement support for the VKD3DSPR_THREADID register.
2024-10-22 20:39:31 +02:00
Henri Verbeet
f76dd80cba
vkd3d-shader/glsl: Implement VKD3DSIH_LD_UAV_TYPED.
2024-10-22 20:39:31 +02:00
Giovanni Mascellani
8d8e0fd55a
tests: Test mismatching RTV and pixel shader output types.
2024-10-22 20:38:18 +02:00
Giovanni Mascellani
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
Giovanni Mascellani
b411086398
tests: Use the appropriate RTV format in minimum-precision.shader_test.
2024-10-22 20:29:25 +02:00
Giovanni Mascellani
987dbe31e3
tests: Use appropriate RTV formats in max-min.shader_test.
2024-10-22 20:29:25 +02:00
Giovanni Mascellani
bc830fa06b
tests: Compute the correct value for condition conjunctions.
...
Currently the value of the last conjunct is returned.
2024-10-22 20:29:25 +02:00
Nikolay Sivov
cf3e251a9f
vkd3d-shader/hlsl: Implement the f32tof16() intrinsic.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-10-22 20:28:33 +02:00
Shaun Ren
f54797bae5
vkd3d-shader/hlsl: Support discard for SM1.
2024-10-22 20:27:34 +02:00
Francisco Casas
2a8c1b2823
vkd3d-shader/hlsl: Sort signature elements by register id.
2024-10-22 20:25:40 +02:00
Francisco Casas
51d05c1844
vkd3d-shader/hlsl: Optimize interstage signatures.
2024-10-22 20:15:15 +02:00
Francisco Casas
d9b631182e
tests: Add signature reflection test with structs.
2024-10-22 19:15:42 +02:00
Nikolay Sivov
fb2b974466
vkd3d-shader/hlsl: Handle snorm/unorm types as resource formats.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-10-22 19:14:51 +02:00
Elizabeth Figura
6fd1a1ce7e
tests: Test point sprite.
2024-10-22 19:14:05 +02:00
Giovanni Mascellani
ae772d40cf
vkd3d: Disable push descriptors when that's helpful to stay within 8 descriptor sets.
2024-10-21 18:22:15 +02:00
Giovanni Mascellani
9f3b21cc78
tests: Mark latching the predicated value as todo on llvmpipe.
...
Vulkan doesn't mandate whether the predicated value should be latched
when beginning the predicated section or re-read at each operation.
2024-10-21 18:20:38 +02:00
Giovanni Mascellani
1301014b28
tests: Mark creating an 8x MSAA render target as buggy on llvmpipe.
2024-10-21 18:20:38 +02:00
Giovanni Mascellani
3c86094371
tests: Mark a sampling test as buggy on llvmpipe.
...
Vulkan doesn't mandate whether sampling exactly in the middle between
two levels should resolve to one or the other, while D3D specifies
that it should result into sampling the higher level. llvmpipe
happens to choose the lower one instead, at least in some cases.
2024-10-21 18:20:38 +02:00
Shaun Ren
773e1bbeae
tests: Test signature reflection for domain shaders.
2024-10-21 18:19:33 +02:00
Shaun Ren
7408ab145a
vkd3d-utils: Implement version reflection.
2024-10-21 18:09:06 +02:00
Giovanni Mascellani
e411fcb60e
tests: Test discontiguous signature masks with SM<4 shaders.
2024-10-17 17:28:52 +02:00
Conor McCarthy
b092fcfc46
tests/d3d12: Test buffer and texture SRVs in test_unbounded_resource_arrays().
...
On virtual heaps, SRV/UAV unbounded ranges are implemented using two
descriptor sets, one for buffers and another for textures, and this case
should be tested.
2024-10-17 17:23:04 +02:00
Shaun Ren
1ed5f1a4d0
vkd3d-shader/tpf: Write the patch constant function in hull shaders.
...
We use a single hs_fork_phase here for the patch constant function.
2024-10-16 21:40:40 +02:00
Shaun Ren
f771f081d9
tests: Test signature reflection for hull shaders.
2024-10-16 21:22:02 +02:00
Shaun Ren
147f8898ca
vkd3d-shader/hlsl: Process the patch constant function in hlsl_emit_bytecode().
...
Also, support patch constant function semantics in sm4_sysval_semantic_from_semantic_name().
2024-10-16 21:10:24 +02:00
Shaun Ren
aee00ea55a
tests: Test hull shader uniform input parameters.
2024-10-16 21:07:53 +02:00