27 Jul
2023
27 Jul
'23
9:06 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/tpf.c:
return order; }
-static void write_sm4_instruction(struct vkd3d_bytecode_buffer *buffer, const struct sm4_instruction *instr) +static void write_sm4_instruction(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *buffer,
I think we usually split the "pass `ctx` to this function" part in a dedicated patch. It feels much cleaner to me. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/281#note_40433