• Niklas Haas's avatar
    dispatch: rework the shader identification mechanism · 5cbcbcec
    Niklas Haas authored
    Rather than having the uint8_t be public, which makes little sense with
    no public way to merge shaders (sh_subpass is private), just add an
    internal _ex function for the (relatively few) cases where we actually
    need this merging stuff.
    For the most cases, we can just always use identifier 0, this also gives
    us better caching for stuff like OSD passes etc.