14 Feb
2024
14 Feb
'24
10:55 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
else { src_param_init_from_value(&src_params[0], operands[coord_idx]); - if (!operands[3]->is_undefined || !operands[4]->is_undefined) + if (!operands[3]->is_undefined || (!is_cmp_xchg && !operands[4]->is_undefined))
Maybe the right thing to do here is to check `operands[coord_idx + 1]` and `operands[coord_idx + 2]`? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/645#note_61147