Commit Graph

7965 Commits

Author SHA1 Message Date
Giovanni Mascellani
d214f9ebca tests/hlsl: Test minimum precision stride for signed integers too. 2025-05-27 17:43:07 +02:00
Giovanni Mascellani
6a699d2872 tests/hlsl: Test minimum precision floating point numbers. 2025-05-27 17:40:29 +02:00
Giovanni Mascellani
1496ddc52f tests/hlsl: Test native 16-bit floating point numbers. 2025-05-27 17:40:29 +02:00
Giovanni Mascellani
deb3b74c66 tests/hlsl: Test casting 16-bit integers to doubles. 2025-05-27 17:40:12 +02:00
Giovanni Mascellani
adca5a66e7 tests/hlsl: Test casting minimum precision integers to doubles. 2025-05-27 17:20:19 +02:00
Giovanni Mascellani
f7c2fbfe85 tests/hlsl: Test casting doubles to minimum precision integers. 2025-05-27 17:20:14 +02:00
Henri Verbeet
ffafa7fdaa tests/hlsl: Get rid of a MSL todo in geometry.shader_test.
The Metal/MSL runner doesn't support geometry shaders, so the test is
never executed on that runner.
2025-05-27 17:15:10 +02:00
Henri Verbeet
ee85e6b534 tests/hlsl: Require the "geometry-shader" cap for the relevant clip/cull-distance tests. 2025-05-27 17:15:10 +02:00
Henri Verbeet
5581c42a79 tests/shader_runner_d3d11: Direct3D 11 supports geometry shaders. 2025-05-27 17:15:10 +02:00
Henri Verbeet
0a28abd8f6 tests/shader_runner_metal: Try harder to find a suitable device. 2025-05-27 17:12:36 +02:00
Henri Verbeet
e17a98f870 vkd3d-shader: Remove some newlines from vkd3d-shader error messages. 2025-05-27 17:12:13 +02:00
Nikolay Sivov
c4c7f10d99 vkd3d-shader/fx: Fix the total buffer size calculation in write_fx_4_buffer().
The total size should take variable alignment/padding into account.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2025-05-24 21:32:22 +02:00
Nikolay Sivov
2e40154801 vkd3d-shader/fx: Use the correct field indices when writing structure default values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2025-05-24 21:27:01 +02:00
Nikolay Sivov
a06ecb6867 vkd3d-shader/fx: Use the correct value range for bool initializers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2025-05-24 21:24:59 +02:00
Nikolay Sivov
11d4fcff46 vkd3d-shader/fx: Handle nameless structure types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2025-05-24 21:19:42 +02:00
Shaun Ren
a4e43402e5 vkd3d-shader/hlsl: Support void pass-through hull shader control point functions. 2025-05-24 21:13:00 +02:00
Shaun Ren
e7b2ca28ab vkd3d-shader/hlsl: Fix the register string for patch arrays in debug_register(). 2025-05-24 21:03:56 +02:00
Elizabeth Figura
f5e0c47811 vkd3d-shader/ir: Use add_signature_element() to add clip planes.
In particular, ensure that the semantic name is not NULL. This is necessary to
avoid a crash when a later pass using vsir_signature_find_element_by_name(),
e.g. vsir_program_insert_vertex_fog(), iterates over the signature including the
new element.
2025-05-24 21:02:17 +02:00
Giovanni Mascellani
3fb662c9e7 tests/hlsl: Remove some tests from minimum-precision.shader_test.
Most of them fail on any native implementation I can put my hands
on, including the CI. Equivalent, but hopefully better, tests
were added to arithmetic-uint.shader_test and
arithmetic-int-uniform.shader_test.
2025-05-24 21:00:32 +02:00
Giovanni Mascellani
cb1ee9cdd5 tests/hlsl: Test minimum precision 16-bit signed integers. 2025-05-24 20:59:34 +02:00
Giovanni Mascellani
a477502a05 tests/hlsl: Test minimum precision 16-bit unsigned integers. 2025-05-24 20:57:42 +02:00
Giovanni Mascellani
fdc173506e tests/hlsl: Test minimum precision stride in constant buffers. 2025-05-24 20:54:42 +02:00
Giovanni Mascellani
bd6dbd096f vkd3d-shader/dxil: Reimplement aggregate indexing using specialized value types.
As opposed to just touching the vsir register description, which
should be removed soon.
2025-05-24 20:44:45 +02:00
Giovanni Mascellani
6a85df013b vkd3d-shader/dxil: Pass a reference to the SM6 parser to sm6_register_from_value(). 2025-05-24 20:44:45 +02:00
Giovanni Mascellani
b0940729ff vkd3d-shader/dxil: Pass a reference to the SM6 parser to src_param_init_from_value(). 2025-05-24 20:44:45 +02:00