Unverified Commit d6a5cc65 by John Kessenich Committed by GitHub

Merge pull request #1878 from dneto0/chrome-fix

GN build (for Chromium): enable HLSL
parents a3bc04b2 96bec343
...@@ -131,7 +131,11 @@ source_set("glslang_sources") { ...@@ -131,7 +131,11 @@ source_set("glslang_sources") {
"glslang/Public/ShaderLang.h", "glslang/Public/ShaderLang.h",
] ]
defines = [ "ENABLE_OPT=1" ] defines = [
"ENABLE_OPT=1",
"ENABLE_HLSL=1",
]
if (is_win) { if (is_win) {
sources += [ "glslang/OSDependent/Windows/ossource.cpp" ] sources += [ "glslang/OSDependent/Windows/ossource.cpp" ]
defines += [ "GLSLANG_OSINCLUDE_WIN32" ] defines += [ "GLSLANG_OSINCLUDE_WIN32" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment