summaryrefslogtreecommitdiff
path: root/source/validate_layout.cpp
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2016-02-17 14:44:00 -0500
committerDavid Neto <dneto@google.com>2016-02-17 14:49:44 -0500
commit5a70335bf1c858b8cf6a22e35dcc41090496c3c1 (patch)
tree48ac408f94d88c33e77951fc36220fe5a90fca5f /source/validate_layout.cpp
parentd1bb51dbb07be54666c074922670e618105e1046 (diff)
downloadSPIRV-Tools-5a70335bf1c858b8cf6a22e35dcc41090496c3c1.tar.gz
SPIRV-Tools-5a70335bf1c858b8cf6a22e35dcc41090496c3c1.tar.bz2
SPIRV-Tools-5a70335bf1c858b8cf6a22e35dcc41090496c3c1.zip
Rearrange headers
Now we have public headers arranged as follows: $SPIRV_TOOLS_ROOT/include/spirv-tools/libspirv.h $SPIRV_TOOLS_ROOT/include/spirv/spirv.h $SPIRV_TOOLS_ROOT/include/spirv/GLSL.std.450.h $SPIRV_TOOLS_ROOT/include/spirv/OpenCL.std.h A project should use -I$SPIRV_TOOLS_ROOT/include and then #include "spirv-tools/libspirv.h" The headers from the SPIR-V Registry can be accessed as "spirv/spirv." for example. The install target should also install the headers from the SPIR-V Registry. The libspirv.h header is broken otherwise. The SPIRV-Tools library depends on the headers from the SPIR-V Registry. The util/bitutils.h and util/hex_float.h are pulled into the internal source tree. Those are not part of the public API to SPIRV-Tools.
Diffstat (limited to 'source/validate_layout.cpp')
-rw-r--r--source/validate_layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/validate_layout.cpp b/source/validate_layout.cpp
index dd30c2b3..42f935cd 100644
--- a/source/validate_layout.cpp
+++ b/source/validate_layout.cpp
@@ -27,7 +27,7 @@
// Source code for logical layout validation as described in section 2.4
#include "validate_passes.h"
-#include "libspirv/libspirv.h"
+#include "spirv-tools/libspirv.h"
#include "diagnostic.h"
#include "opcode.h"