Giovanni Mascellani
8887501042
tests: Test I/O index ranges not intersecting a signature element for a given register.
...
Since this test depend on the specific code generated by the
native d3dcompiler we add the possibility to specify a "raw"
shader using a hex format. When the shader assembler is finally
available they should be replaced with assembly code.
2025-02-19 17:01:17 +01:00
Conor McCarthy
c3555a34dc
tests/hlsl: Add structured buffer UAV 16-bit tests.
2025-02-12 20:03:50 +01:00
Conor McCarthy
504bdcc8bb
tests/hlsl: Add a raw buffer UAV 16-bit test.
2025-02-12 20:00:33 +01:00
Conor McCarthy
163801507c
tests/hlsl: Add typed buffer UAV 16-bit tests.
2025-02-12 19:59:19 +01:00
Conor McCarthy
7ee6101291
tests/hlsl: Add GetDimensions() 16-bit tests.
2025-02-12 19:56:21 +01:00
Conor McCarthy
498e86fb86
tests/hlsl: Add constant buffer 16-bit tests.
2025-02-12 19:49:28 +01:00
Conor McCarthy
1b7340a6ed
tests/hlsl: Add a numeric types 16-bit test.
2025-02-10 13:19:16 +01:00
Conor McCarthy
49a683f260
tests/hlsl: Add arithmetic float16 tests.
2025-02-10 13:19:16 +01:00
Conor McCarthy
becb749792
tests/hlsl: Add arithmetic int16 tests.
2025-02-10 13:19:16 +01:00
Conor McCarthy
2a0d49bb58
tests/hlsl: Add more arithmetic uint16 tests.
2025-02-10 13:19:16 +01:00
Shaun Ren
ec6b4ed4ff
vkd3d-shader/hlsl: Generate vsir registers from patch variable derefs.
2025-02-03 16:36:16 +01:00
Shaun Ren
0c8414c13f
tests/hlsl: Test OutputPatch usage in patch constant functions.
2025-02-03 15:59:07 +01:00
Elizabeth Figura
75ef230fbe
tests: Add some stress tests for scope and variable definition.
2025-01-29 17:58:00 +01:00
Shaun Ren
7d1e4a40b1
tests/hlsl: Test hull shader control point function output parameters.
2025-01-29 17:53:26 +01:00
Shaun Ren
73183d33c5
tests/hlsl: Test passthrough hull shader control point function.
2025-01-29 17:52:49 +01:00
Shaun Ren
8a5559ab17
tests/hlsl: Test the syntax of InputPatch/OutputPatch variables.
2025-01-29 17:51:18 +01:00
Shaun Ren
32c081ba8c
tests/hlsl: Test invalid const variables with no initializer.
2025-01-29 17:36:58 +01:00
Conor McCarthy
033a0d29c5
tests/hlsl: Add some arithmetic uint16 shader tests.
2025-01-28 13:13:44 +01:00
Conor McCarthy
f63254d905
vkd3d-shader/dxil: Handle SV_RenderTargetArrayIndex.
2025-01-27 14:52:28 +01:00
Conor McCarthy
a557ad0aea
tests/hlsl: Add a test for SV_RenderTargetArrayIndex.
2025-01-27 14:52:28 +01:00
Elizabeth Figura
d049ea640f
vkd3d-shader/hlsl: Implement broadcasts in constant folding.
...
Normally lower_broadcasts() takes care of this, but loop unrolling executes before other constant passes.
2025-01-27 14:48:03 +01:00
Elizabeth Figura
9065a1ee23
tests: Add another unrolling test.
2025-01-27 14:47:12 +01:00
Giovanni Mascellani
343022cdc1
vkd3d-shader/spirv: Interpret the write mask as a destination swizzle for double comparison operations.
...
This fixes a failure on a shader in Wild hearts.
2025-01-22 14:51:16 +01:00
Francisco Casas
4d18fb39b6
vkd3d-shader/hlsl: Don't forbid first base type cast on var assignments.
2025-01-22 14:46:02 +01:00
Francisco Casas
0a15ab702f
vkd3d-shader/hlsl: Don't count cast to param type on IN as part of OUT var's lhs.
...
If the parameter is HLSL_STORAGE_IN, we add a cast from the arg to the
param type so that it can enter the function, however this cast should
not be considered part of the lhs on the implicit assignment that happens
if the var is also HLSL_STORAGE_OUT.
2025-01-22 14:39:20 +01:00