Merge pull request #1878 from dneto0/chrome-fix
GN build (for Chromium): enable HLSL
This commit is contained in:
commit
d6a5cc6580
1 changed files with 5 additions and 1 deletions
6
BUILD.gn
6
BUILD.gn
|
|
@ -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" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue