GN build (for Chromium): enable HLSL

This commit is contained in:
David Neto 2019-08-23 14:34:29 -04:00
parent a3bc04b278
commit 96bec343d0

View File

@ -131,7 +131,11 @@ source_set("glslang_sources") {
"glslang/Public/ShaderLang.h",
]
defines = [ "ENABLE_OPT=1" ]
defines = [
"ENABLE_OPT=1",
"ENABLE_HLSL=1",
]
if (is_win) {
sources += [ "glslang/OSDependent/Windows/ossource.cpp" ]
defines += [ "GLSLANG_OSINCLUDE_WIN32" ]