Fix spirv.h include to rely on include paths
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>
Sat, 10 Feb 2018 01:57:29 +0000 (17:57 -0800)
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>
Sat, 10 Feb 2018 02:29:17 +0000 (18:29 -0800)
This is important when SPIRV-Headers are not checked out to external/
folder and mirrors other places in the code where spirv.h is included.

source/opt/const_folding_rules.h

index fb7dad3..fed69b3 100644 (file)
 
 #include <vector>
 
-#include "../../external/spirv-headers/include/spirv/1.2/spirv.h"
 #include "constants.h"
 #include "def_use_manager.h"
 #include "folding_rules.h"
 #include "ir_builder.h"
 #include "ir_context.h"
+#include "spirv/1.2/spirv.h"
 
 namespace spvtools {
 namespace opt {