Henri Verbeet pushed to branch master at wine / vkd3d
Commits: c050c8be by Giovanni Mascellani at 2025-06-02T19:45:54+02:00 vkd3d-shader/dxil: Do not touch the parser current value in instruction_dst_param_init_temp_vector().
The stored value is never read, the caller will overwrite it with the SSA register generated by the whole DXIL instruction.
Since the helper is always used for UINT instructions, change and rename it accordingly, so we don't have the problem of finding out which data type to use.
- - - - - d36e3755 by Giovanni Mascellani at 2025-06-02T19:46:23+02:00 vkd3d-shader/dxil: Generate CONSTANT values in sm6_parser_constants_init() for integer values.
- - - - - 93fb51c8 by Giovanni Mascellani at 2025-06-02T19:46:23+02:00 vkd3d-shader/dxil: Generate CONSTANT values in sm6_parser_constants_init() for floating-point values.
- - - - - 79ec2fe9 by Giovanni Mascellani at 2025-06-02T19:51:22+02:00 vkd3d-shader/dxil: Generate specialized values in sm6_parser_constants_init() for casts.
Depending on the casted operand, the generated values can be ICB, IDXTEMP or GROUPSHAREDMEM.
The cast decoding code is entirely moved to the second pass, so that we avoid abusing registers to temporarily store other data.
- - - - - 0a1e7b5f by Giovanni Mascellani at 2025-06-02T19:52:25+02:00 vkd3d-shader/dxil: Generate CONSTANT values in sm6_parser_constants_init() for null scalars.
- - - - - a743d9ae by Giovanni Mascellani at 2025-06-02T19:52:25+02:00 vkd3d-shader/dxil: Remove bitcast helpers.
They are useless, since the source is already a union with the needed types.
- - - - -
2 changed files:
- libs/vkd3d-shader/dxil.c - libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/87ec2d98973432531d7d9d08dfc83...