From 70bf3514e8316e5bb96a6f90492f9cfb475dfe0c Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Fri, 9 Feb 2018 17:57:29 -0800 Subject: [PATCH] Fix spirv.h include to rely on include paths 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/opt/const_folding_rules.h b/source/opt/const_folding_rules.h index fb7dad349..fed69b309 100644 --- a/source/opt/const_folding_rules.h +++ b/source/opt/const_folding_rules.h @@ -17,12 +17,12 @@ #include -#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 {