GN build (for Chromium): enable HLSL
This commit is contained in:
parent
a3bc04b278
commit
96bec343d0
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",
|
||||
]
|
||||
|
||||
defines = [ "ENABLE_OPT=1" ]
|
||||
defines = [
|
||||
"ENABLE_OPT=1",
|
||||
"ENABLE_HLSL=1",
|
||||
]
|
||||
|
||||
if (is_win) {
|
||||
sources += [ "glslang/OSDependent/Windows/ossource.cpp" ]
|
||||
defines += [ "GLSLANG_OSINCLUDE_WIN32" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue