Henri Verbeet pushed to branch master at wine / vkd3d
Commits: cf726cf5 by Francisco Casas at 2025-06-23T17:50:37+02:00 tests/shader_runner_d3d12: Handle the "bug" qualifier on state creation failure.
- - - - - e0359c52 by Francisco Casas at 2025-06-23T17:53:03+02:00 tests/hlsl: Test the allocation order of return semantics.
- - - - - 2e0cbff3 by Francisco Casas at 2025-06-23T17:56:40+02:00 vkd3d-shader/hlsl: Allocate return variables before other outputs.
point-sprite.shader_test is not technically well formed since, in SM4, the vertex output signature should be:
// Output signature: // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // sv_position 0 xyzw 0 POS float xyzw // texcoord 0 xy 1 NONE float xy
and the pixel input signature should be:
// Input signature: // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // texcoord 0 xy 0 NONE float xy
so we are not passing "texcoord" properly to the pixel shader, even on Windows.
- - - - - 83979ec0 by Francisco Casas at 2025-06-23T17:59:20+02:00 tests/hlsl: Fix up point-sprite.shader_test.
Write the shaders so that texcoord's register index in the vertex output signature matches the register index in the pixel input signature (o0 and v0 in this case) in SM4.
- - - - -
5 changed files:
- Makefile.am - libs/vkd3d-shader/hlsl_codegen.c - tests/hlsl/point-sprite.shader_test - + tests/hlsl/return-semantics.shader_test - tests/shader_runner_d3d12.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/46265061c3316e38e277c51908607...