Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/d3d_asm.c:
switch (ins->handler_idx) {
case VKD3DSIH_BRANCH:
{
const struct vkd3d_shader_branch *branch = &ins->declaration.branch;
vkd3d_string_buffer_printf(buffer, " l%u", branch->true_id);
I don't fully know the high level choices around syntax coloring in D3D ASM, but I'd say that a label would warrant some coloring. I would even propose to add a new dedicated color for labels, since they're pretty unlike any other syntax element we already have, and I guess that at some point it can be useful to single them out quickly when reading code.