Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
3234c428 by Giovanni Mascellani at 2025-07-22T17:11:50+02:00
vkd3d-shader/ir: Validate NEO operations.
- - - - -
4789295e by Giovanni Mascellani at 2025-07-22T17:11:51+02:00
vkd3d-shader/ir: Validate NEU operations.
- - - - -
1c7c6691 by Giovanni Mascellani at 2025-07-22T17:11:51+02:00
vkd3d-shader/ir: Validate NOT operations.
- - - - -
6266f898 by Giovanni Mascellani at 2025-07-22T17:11:51+02:00
vkd3d-shader/ir: Validate OR operations.
- - - - -
59738c7a by Giovanni Mascellani at 2025-07-22T17:11:51+02:00
vkd3d-shader/ir: Validate ORD instructions.
- - - - -
f3f80568 by Giovanni Mascellani at 2025-07-22T17:11:51+02:00
vkd3d-shader/ir: Validate RCP instructions.
- - - - -
b3db78e3 by Giovanni Mascellani at 2025-07-22T17:11:51+02:00
vkd3d-shader/ir: Validate ROUND_NE instructions.
- - - - -
68cd72c7 by Giovanni Mascellani at 2025-07-22T17:11:51+02:00
vkd3d-shader/ir: Validate ROUND_NI instructions.
- - - - -
1 changed file:
- libs/vkd3d-shader/ir.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/14ee6b86e0a38f98dd9d84c08a6b…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/14ee6b86e0a38f98dd9d84c08a6b…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
07895781 by Giovanni Mascellani at 2025-07-22T15:12:37+02:00
vkd3d-shader/ir: Introduce vsir_program_append().
To append an instruction to the end of the vsir program.
- - - - -
7e76e62d by Giovanni Mascellani at 2025-07-22T16:52:24+02:00
vkd3d-shader/tpf: Use iterators in tpf_write_program().
- - - - -
7d9a8679 by Giovanni Mascellani at 2025-07-22T16:56:07+02:00
vkd3d-shader/spirv: Use iterators in spirv_compiler_generate_spirv().
- - - - -
01068dad by Giovanni Mascellani at 2025-07-22T16:57:25+02:00
vkd3d-shader/msl: Use iterators in msl_generator_generate().
- - - - -
ddb65aac by Giovanni Mascellani at 2025-07-22T17:01:04+02:00
vkd3d-shader/glsl: Use iterators in vkd3d_glsl_generator_generate().
- - - - -
42f53c82 by Giovanni Mascellani at 2025-07-22T17:11:13+02:00
vkd3d-shader/d3d-asm: Use iterators in d3d_asm_compile().
- - - - -
4a1ca99c by Giovanni Mascellani at 2025-07-22T17:11:19+02:00
vkd3d-shader/d3dbc: Use vsir_program_append() in d3dbc_parse().
- - - - -
14ee6b86 by Giovanni Mascellani at 2025-07-22T17:11:19+02:00
vkd3d-shader/d3dbc: Use iterators in d3dbc_write_program_instructions().
- - - - -
7 changed files:
- libs/vkd3d-shader/d3d_asm.c
- libs/vkd3d-shader/d3dbc.c
- libs/vkd3d-shader/glsl.c
- libs/vkd3d-shader/msl.c
- libs/vkd3d-shader/spirv.c
- libs/vkd3d-shader/tpf.c
- libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/b4bf2af31551b19023060454c122…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/b4bf2af31551b19023060454c122…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
a04e4e40 by Henri Verbeet at 2025-07-22T14:57:26+02:00
vkd3d-shader/ir: Rename VKD3D_DATA_INT to VSIR_DATA_I32.
- - - - -
40bbd61a by Henri Verbeet at 2025-07-22T14:57:26+02:00
vkd3d-shader/ir: Rename VKD3D_DATA_UINT8 to VSIR_DATA_U8.
- - - - -
163b8744 by Henri Verbeet at 2025-07-22T14:57:26+02:00
vkd3d-shader/ir: Rename VKD3D_DATA_UINT16 to VSIR_DATA_U16.
- - - - -
742cce9a by Henri Verbeet at 2025-07-22T14:57:26+02:00
vkd3d-shader/ir: Rename VKD3D_DATA_UINT to VSIR_DATA_U32.
- - - - -
1487764e by Henri Verbeet at 2025-07-22T14:57:26+02:00
vkd3d-shader/ir: Rename VKD3D_DATA_UINT64 to VSIR_DATA_U64.
- - - - -
11 changed files:
- libs/vkd3d-shader/d3d_asm.c
- libs/vkd3d-shader/d3dbc.c
- libs/vkd3d-shader/dxil.c
- libs/vkd3d-shader/glsl.c
- libs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/msl.c
- libs/vkd3d-shader/spirv.c
- libs/vkd3d-shader/tpf.c
- libs/vkd3d-shader/vkd3d_shader_main.c
- libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/8f05fbc75d72718aa95382011b58…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/8f05fbc75d72718aa95382011b58…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
226afa47 by Giovanni Mascellani at 2025-07-22T14:55:18+02:00
vkd3d-shader/ir: Check that THREADID registers have dimension VEC4.
- - - - -
b02c3759 by Giovanni Mascellani at 2025-07-22T14:55:18+02:00
vkd3d-shader/ir: Check that SAMPLEMASK registers have dimension SCALAR.
Also fix the DXIL parser to emit them accordingly.
- - - - -
dfc18781 by Giovanni Mascellani at 2025-07-22T14:55:18+02:00
vkd3d-shader/ir: Check that GSINSTID registers have dimension SCALAR.
- - - - -
b3c1fb67 by Giovanni Mascellani at 2025-07-22T14:55:18+02:00
vkd3d-shader/ir: Check that OUTPOINTID registers have dimension SCALAR.
- - - - -
7b36453b by Giovanni Mascellani at 2025-07-22T14:55:18+02:00
vkd3d-shader/ir: Check that PRIMID registers have dimension SCALAR.
- - - - -
13c9826c by Giovanni Mascellani at 2025-07-22T14:55:18+02:00
vkd3d-shader/ir: Check that OUTSTENCILREF registers have dimension SCALAR.
- - - - -
2 changed files:
- libs/vkd3d-shader/dxil.c
- libs/vkd3d-shader/ir.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/f0906e9c5c4151d491923b687c3b…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/f0906e9c5c4151d491923b687c3b…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
f0906e9c by Elizabeth Figura at 2025-07-22T14:51:09+02:00
vkd3d-shader/spirv: Use left-shifted writemasks for private variables for inputs.
One of the effects of I/O normalization, when it was introduced, was to shift
the writemask of all semantics to become 0-based—e.g., to convert .yz to .xy.
It did this by modifying the shader code, but did *not* modify the signature
masks.
The SPIR-V compiler, at the time, used both the write mask on the dcl_input
instruction and the signature masks. It also, due to the requirements of the
SPIR-V format, performed the same normalization, left-shifting each mask to
become zero-based. Despite this normalization now being performed earlier in
the aforementioned VSIR pass, the handling in the SPIR-V backend was never
removed.
When 66cb2815f0662713c3255113255cfd7cf5e406fb was written, I either incorrectly
assumed that the signature mask was equal to the dcl_input write mask (at least,
in any well-formed shader), or (less likely) I noticed that the discrepancy
might exist but believed that the left-shifting normalization performed by the
spirv compiler covered all cases.
In either case it turns out there is one case where the difference was not
handled by the spirv compiler either. That is the case of a varying which has
a fixup function and therefore needs a private variable, which is currently true
for the SV_VertexID, SV_InstanceID, and SV_IsFrontFace varyings.
Thus, if one of those varyings has a signature mask other than .x, we currently
copy the SPIR-V builtin value to the relevant component of the private variable,
but subsequent code will load from the .x variable due to the normalization done
by shader_src_param_io_normalise().
This fixes a regression introduced by 66cb2815f0662713c3255113255cfd7cf5e406fb.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57433
- - - - -
1 changed file:
- libs/vkd3d-shader/spirv.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/f0906e9c5c4151d491923b687c3b8…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/f0906e9c5c4151d491923b687c3b8…
You're receiving this email because of your account on gitlab.winehq.org.