2019-07-28 22:58:32 +00:00
|
|
|
def can_build(env, platform):
|
2023-11-08 11:23:47 +00: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-28 22:58:32 +00:00
|
|
|
|
2020-03-30 06:28:32 +00:00
|
|
|
|
2019-07-28 22:58:32 +00:00
|
|
|
def configure(env):
|
|
|
|
pass
|