INNER CODE UNIT · Python

path_to_msl_standard_cli

Hongtae/SwiftVVD · SupportPackages/SPIRV-Cross/Sources/test_shaders.py:174

def path_to_msl_standard_cli(shader):
    if '.msl31.' in shader:
        return '30100'
    elif '.msl3.' in shader:
        return '30000'
    elif '.msl2.' in shader:
        return '20000'
    elif '.msl21.' in shader:
        return '20100'
    elif '.msl22.' in shader:
        return '20200'
    elif '.msl23.' in shader:
        return '20300'
    elif '.msl24.' in shader:
        return '20400'
    elif '.msl11.' in shader:
        return '10100'
    else:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…