[Git][wine/vkd3d][master] 5 commits: tests/hlsl: Add some tests for invalid I/O semantics.
Henri Verbeet pushed to branch master at wine / vkd3d Commits: 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(). - - - - - 9 changed files: - libs/vkd3d-shader/d3dbc.c - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/tpf.c - libs/vkd3d-shader/vkd3d_shader_private.h - tests/hlsl/attrout-semantics.shader_test - tests/hlsl/bitwise.shader_test - tests/hlsl/pixel-position.shader_test - tests/hlsl/shader-interstage-interface.shader_test - tests/shader_runner.c View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/ac8f974f4d3b4a0c55f40f7e5e6f4... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/ac8f974f4d3b4a0c55f40f7e5e6f4... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Henri Verbeet (@hverbeet)