On Mon Jun 26 17:19:50 2023 +0000, Giovanni Mascellani wrote:
Personally I find the style of `debug_hlsl_expr_op()` nicer:
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.