2019-07-29 00:58:32 +02:00
|
|
|
def can_build(env, platform):
|
2023-11-08 12:23:47 +01:00
|
|
|
# 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"]
|
2019-07-29 00:58:32 +02:00
|
|
|
|
2020-03-30 08:28:32 +02:00
|
|
|
|
2019-07-29 00:58:32 +02:00
|
|
|
def configure(env):
|
|
|
|
pass
|