26 Jun
2023
26 Jun
'23
5:19 p.m.
On Mon Jun 26 17:19:50 2023 +0000, Giovanni Mascellani wrote:
Personally I find the style of `debug_hlsl_expr_op()` nicer: ```c static const char *const op_names[] = { [HLSL_OP0_VOID] = "void", [HLSL_OP1_ABS] = "abs", [HLSL_OP1_BIT_NOT] = "~", [HLSL_OP1_CAST] = "cast", [HLSL_OP1_COS] = "cos", ... ``` Not a big deal, anyway, and it's already inconsistent in the current code base. I don't, but if there is consensus which one to prefer, I'd be happy to use that everywhere.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/233#note_36833