projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3bc04b
)
GN build (for Chromium): enable HLSL
author
David Neto
<dneto@google.com>
Fri, 23 Aug 2019 18:34:29 +0000
(14:34 -0400)
committer
David Neto
<dneto@google.com>
Fri, 23 Aug 2019 18:35:35 +0000
(14:35 -0400)
BUILD.gn
patch
|
blob
|
history
diff --git
a/BUILD.gn
b/BUILD.gn
index
e38e78a
..
d11810b
100644
(file)
--- a/
BUILD.gn
+++ b/
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" ]