Henri Verbeet
1cf6e8a85d
vkd3d-compiler: Store the target type as a struct target_type_info pointer.
2025-02-18 17:47:22 +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
Henri Verbeet
940c67f521
vkd3d: Avoid freeing the input signature twice on error paths in d3d12_pipeline_state_init_graphics().
...
This used to be safe enough before commit
b5ac6ac636
, although that was never guaranteed
by the API.
2025-02-12 19:44:10 +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
Elizabeth Figura
fe52e69662
vkd3d-shader/hlsl: Use a block in hlsl_normalize_binary_exprs().
2025-02-05 13:53:53 +01:00
Elizabeth Figura
d7cd33fd88
vkd3d-shader/hlsl: Use a block in prepend_input_var_copy().
2025-02-05 13:53:53 +01:00
Elizabeth Figura
b7d7deb983
vkd3d-shader/hlsl: Pass the block to add_zero_mipmap_level().
2025-02-05 13:18:42 +01:00
Elizabeth Figura
602103dcf0
vkd3d-shader/hlsl: Handle error instructions in add_switch().
2025-02-05 13:18:42 +01:00
Elizabeth Figura
fb290f3847
vkd3d-shader/hlsl: Add an add_switch() helper.
2025-02-05 13:18:42 +01:00
Shaun Ren
2f77d56b77
tests: Test signature reflection for patch inputs in hull/domain shaders.
2025-02-03 16:36:21 +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
3fb241d4d6
tests/shader_runner: Support the negation of tag matches.
2025-02-03 16:15:11 +01:00
Shaun Ren
2a1e3b100b
vkd3d-shader/hlsl: Allocate semantic registers for patch variables.
2025-02-03 16:15:11 +01:00
Shaun Ren
2ddbc69f1a
vkd3d-shader/hlsl: Declare semantics for patch variables in vsir.
2025-02-03 16:15:03 +01:00
Shaun Ren
f127f0849e
vkd3d-shader/hlsl: Generate vsir signature entries for patch variables.
2025-02-03 16:04:21 +01:00
Shaun Ren
aa29d0a2e5
vkd3d-shader/tpf: Improve readability of compat mapping in sm4_sysval_semantic_from_semantic_name().
2025-02-03 16:04:21 +01:00
Shaun Ren
29abe73918
vkd3d-shader/hlsl: Implement input semantic variable copies for patch variables.
...
The semantic variables from a patch parameter are split as usual, with
the difference being that the semantic variable being added is a patch
variable itself, with the type being the split variable type, and its
number of control points being equal to the original patch variable's
number of control points. It is then stored in the original patch
variable as follows:
for (i = 0; i < n; ++i)
patch[i][f] := <inputpatch-sem-var>[i]
where n is the number of control points of "patch", and f is the field
index in patch corresponding to "<inputpatch-sem-var>".
We use special prefixes, "inputpatch-" or "outputpatch-", when adding
the semantic patch variables, in order to distinguish them from
non-patch semantic variables of the same name.
2025-02-03 16:04:11 +01:00
Shaun Ren
f5d216835a
vkd3d-shader/hlsl: Add an "is_patch_constant_func" field to struct hlsl_ctx.
...
In anticipation of the need for is_patch_constant_func in
sm4_generate_vsir_reg_from_deref(), in order to generate vsir
registers from InputPatch/OutputPatch dereferences.
2025-02-03 16:00:38 +01:00