Skip to content
  • Philip Langdale's avatar
    spirv: Prefix spirv compiler function struct names · 4912e344
    Philip Langdale authored
    These structs are included via extern declarations, so they can
    silently conflict with equivalently named declarations in an
    application if libplacebo is included statically.
    
    And this happens with mpv, which also declares a `spirv_shaderc`
    struct.
    
    So, prefix the struct names with `pl_` to avoid this.
    4912e344