Merge pull request #1878 from dneto0/chrome-fix

GN build (for Chromium): enable HLSL
This commit is contained in:
John Kessenich 2019-08-26 02:03:44 -06:00 committed by GitHub
commit d6a5cc6580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" ]