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
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
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
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
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
553e37314a
vkd3d-shader/fx: Print string object entries for fx_2_0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-10 15:14:32 +01:00
3749171656
vkd3d-shader/fx: Output object initialiser IDs for fx_2_0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-10 15:14:24 +01:00
1417af2eab
vkd3d-shader/fx: Add support for parsing numeric states in fx_2_0 passes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-06 17:21:10 +01:00
fb76e5daa2
vkd3d-shader/fx: Add support for parsing fx_2_0 parameters.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-06 17:21:10 +01:00
36b8186021
vkd3d-shader/fx: Handle parser failures in fx_parse().
2025-03-06 17:19:28 +01:00
a6fda3e65d
vkd3d-shader/fx: Output error messages for invalid sizes.
2025-03-06 17:19:28 +01:00
871c9c61a5
vkd3d-shader/fx: Fix const strings array types.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-05 14:09:58 +01:00
1c43b7b55c
vkd3d-shader/fx: Add support for parsing fx_2_0 annotations.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-05 14:02:09 +01:00
db7c22d9d6
vkd3d-shader/fx: Parse technique and pass blocks for fx_2_0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-05 14:01:53 +01:00
9f09ac6893
vkd3d-shader/fx: Fix condition when printing literal constant arguments.
...
To reproduce:
float4 v;
SamplerState s
{
BorderColor = 0.1 + v*0.2;
};
Expression should use more than one literal constant,
as a scalar in operation that involves a vector.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-03-03 17:54:17 +01:00
e746a4c12f
vkd3d-shader/fx: Improve state object nesting for the fx -> text output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-02-24 16:19:07 +01:00
09226543fe
vkd3d-shader/fx: Implement parsing complex value and index expressions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-02-24 16:19:07 +01:00
58aed8fd0d
vkd3d-shader/fx: Use vkd3d_string_buffer_print_f32() in parse_fx_4_numeric_value().
...
Instead of "%f". vkd3d_string_buffer_print_f32() will use sufficient
precision to represent the stored value exactly, and will use '.' as
decimal separator regardless of the current locale.
2025-02-24 16:19:07 +01:00
985d317e0e
Release 1.15.
2025-02-19 12:00:00 +01:00
29bac62ba2
vkd3d-shader/hlsl: Move the "dimx" and "dimy" fields to the type-specific union.
2025-01-10 19:38:13 +01:00
3a6bf3be24
vkd3d-shader/hlsl: Lower separated samplers for SM1.
...
The combined sampler is created as a SAMPLER instead of a TEXTURE
because that fits all our current infrastructure. The only problem is
that in the CTAB it must appear as a Texture, so the new field
hlsl_type.is_combined_sampler is added.
Co-authored-by: Elizabeth Figura <zfigura@codeweavers.com >
2024-12-10 15:51:43 +01:00
b314a9eb84
vkd3d-shader/fx: Remove newlines from the parser error messages.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2024-11-23 23:24:05 +01:00
3784919213
vkd3d-shader/fx: Implement parsing inline shader blobs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2024-11-23 23:21:39 +01:00
1a6409cd5b
vkd3d-shader/hlsl: Add parser support for stream-output object types.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2024-11-21 19:28:46 +01:00
5c00766eff
Release 1.14.
2024-11-21 12:35:55 +01:00