-
e97bff67
by Henri Verbeet at 2026-06-22T13:21:23+02:00
tests/hlsl: Add some tests for invalid I/O semantics.
Note that the reason the final two shaders don't have a "todo" is purely
because the validator catches them.
-
7956fdc6
by Henri Verbeet at 2026-06-22T13:21:23+02:00
vkd3d-shader/hlsl: Disallow user-defined pixel shader outputs in shader model 4+ target profiles.
This fixes the final two shaders from the previous commit when the
validator is not enabled.
-
b1e3659c
by Henri Verbeet at 2026-06-22T13:21:23+02:00
vkd3d-shader/hlsl: Do not validate unused semantic registers in shader model 1-3 target profiles.
For example, the first two shaders from attrout-semantics.shader_test
are only supposed to compile because the "fog" and "psize" inputs are
unused. Those inputs currently happen to pass the validation, but that's
about to change.
-
ea5b40b7
by Henri Verbeet at 2026-06-22T13:21:23+02:00
vkd3d-shader/hlsl: Take the kind of input/output into account in sm1_usage_from_semantic_name().
-
f5d2211e
by Henri Verbeet at 2026-06-22T13:21:23+02:00
vkd3d-shader/hlsl: Do not allow "sv_target" in sm1_usage_from_semantic_name().