summaryrefslogtreecommitdiffstats
path: root/modules/glslang/config.py
blob: a024dcf9846e2197ffedbb739c45b26ea7fc8133 (plain)
1
2
3
4
5
6
7
8
def can_build(env, platform):
    # glslang is only needed when Vulkan, Direct3D 12 or Metal-based renderers are available,
    # as OpenGL doesn't use glslang.
    return env["vulkan"] or env["d3d12"] or env["metal"]


def configure(env):
    pass