• 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`
    So, prefix the struct names with `pl_` to avoid this.
spirv_glslang.c 2.11 KB