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


def configure(env):
    pass