Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/ir.c:
return;
signature = &normaliser->input_signature;
break;
default:
return;
- }
- element_idx = reg->idx[reg->idx_count - 1].offset;
- if (!signature->scan[element_idx].need_normalisation)
return;
- if ((array_offset = signature->scan[element_idx].offset))
element_idx = signature->scan[element_idx].remap;
- element_idx = signature->scan[element_idx].remap;
Like, this, this is the weird part that I have to reread a couple times to make sure it's right, and makes me question if we should use "nop" signature elements instead.