This was caused by `drw_ResourceID` taking one vertex input (at slot 15) which was then also used by material shaders. Starting material shaders at 14 in this case avoid the overlap. Note that this reduces the amount of supported attribute when using the workarounds by one.