Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 8d4b790e by Giovanni Mascellani at 2024-12-17T16:39:32+01:00 vkd3d-shader/ir: Represent information about I/O registers with a table.
It makes the code quite longer, but also easier to read and extend with further properties.
A (desirable) side effect of this commit is that it is checked whether I/O register types are legal depending on the shader type and phase, while before that was assumed.
This commit introduces enum vsir_io_reg_type and enum vsir_phase which shadow enum vkd3d_shader_register_type and enum vkd3d_shader_opcode, with the goal of making the data tables smaller.
- - - - - 38a5c905 by Giovanni Mascellani at 2024-12-17T16:39:32+01:00 vkd3d-shader/ir: Validate INPUT destination parameters using a uniform helper.
- - - - - b194e5dc by Giovanni Mascellani at 2024-12-17T16:39:32+01:00 vkd3d-shader/ir: Validate PATCHCONST destination parameters using a uniform helper.
- - - - - 7d87b4e8 by Giovanni Mascellani at 2024-12-17T16:39:32+01:00 vkd3d-shader/ir: Validate OUTPUT destination parameters.
- - - - - 3dc7f322 by Giovanni Mascellani at 2024-12-17T16:39:32+01:00 vkd3d-shader/ir: Validate INCONTROLPOINT destination parameters.
- - - - - 00538c37 by Giovanni Mascellani at 2024-12-17T16:39:32+01:00 vkd3d-shader/ir: Validate OUTCONTROLPOINT destination parameters.
- - - - -
1 changed file:
- libs/vkd3d-shader/ir.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/27c77769478cd68e5ffcd143fbc52...