GN build (for Chromium): enable HLSL
This commit is contained in:
parent
a3bc04b278
commit
96bec343d0
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…
x
Reference in New Issue
Block a user