mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
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.