Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/ir.c:
+ if (texkill_ins->handler_idx != VKD3DSIH_TEXKILL) + continue; + + if (!shader_instruction_array_insert_at(instructions, i + 1, components_read + 1)) + return VKD3D_ERROR_OUT_OF_MEMORY; + + if (tmp_idx == ~0u) + tmp_idx = parser->shader_desc.temp_count++; + + /* tmp = ins->dst[0] < 0 */ + + ins = texkill_ins + 1; + if (!vsir_instruction_init_with_params(parser, ins, &texkill_ins->location, VKD3DSIH_LTO, 1, 2)) + return VKD3D_ERROR_OUT_OF_MEMORY; + + vsir_register_init(&ins->dst[0].reg, VKD3DSPR_TEMP, VKD3D_DATA_INT, 1); Not that it changes a lot, but I'd rather advocate for `UINT` (even `BOOL` at some point, but support is still lacking; [I have some work for that](https://gitlab.winehq.org/giomasce/vkd3d/-/commit/ef80fbce9724fad76812beffd6...), but it might still need some polishing).
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/514#note_57880