From: Jason Ekstrand Date: Thu, 14 Apr 2016 17:28:45 +0000 (-0700) Subject: spirv: Move to compiler/ X-Git-Tag: upstream/17.1.0~11012^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c34be07230ef98d5021f0bdc88c3b0bc804ee2dd;p=platform%2Fupstream%2Fmesa.git spirv: Move to compiler/ While it does rely on NIR, it's not really part of the NIR core. At the moment, it still builds as part of libnir but that can be changed later if desired. --- diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index adc7a42..1973533 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -235,10 +235,10 @@ NIR_FILES = \ nir/nir_worklist.h SPIRV_FILES = \ - nir/spirv/nir_spirv.h \ - nir/spirv/spirv_to_nir.c \ - nir/spirv/vtn_alu.c \ - nir/spirv/vtn_cfg.c \ - nir/spirv/vtn_glsl450.c \ - nir/spirv/vtn_private.h \ - nir/spirv/vtn_variables.c + spirv/nir_spirv.h \ + spirv/spirv_to_nir.c \ + spirv/vtn_alu.c \ + spirv/vtn_cfg.c \ + spirv/vtn_glsl450.c \ + spirv/vtn_private.h \ + spirv/vtn_variables.c diff --git a/src/compiler/nir/spirv/GLSL.std.450.h b/src/compiler/spirv/GLSL.std.450.h similarity index 100% rename from src/compiler/nir/spirv/GLSL.std.450.h rename to src/compiler/spirv/GLSL.std.450.h diff --git a/src/compiler/nir/spirv/nir_spirv.h b/src/compiler/spirv/nir_spirv.h similarity index 100% rename from src/compiler/nir/spirv/nir_spirv.h rename to src/compiler/spirv/nir_spirv.h diff --git a/src/compiler/nir/spirv/spirv.h b/src/compiler/spirv/spirv.h similarity index 100% rename from src/compiler/nir/spirv/spirv.h rename to src/compiler/spirv/spirv.h diff --git a/src/compiler/nir/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c similarity index 100% rename from src/compiler/nir/spirv/spirv_to_nir.c rename to src/compiler/spirv/spirv_to_nir.c diff --git a/src/compiler/nir/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c similarity index 100% rename from src/compiler/nir/spirv/vtn_alu.c rename to src/compiler/spirv/vtn_alu.c diff --git a/src/compiler/nir/spirv/vtn_cfg.c b/src/compiler/spirv/vtn_cfg.c similarity index 100% rename from src/compiler/nir/spirv/vtn_cfg.c rename to src/compiler/spirv/vtn_cfg.c diff --git a/src/compiler/nir/spirv/vtn_glsl450.c b/src/compiler/spirv/vtn_glsl450.c similarity index 100% rename from src/compiler/nir/spirv/vtn_glsl450.c rename to src/compiler/spirv/vtn_glsl450.c diff --git a/src/compiler/nir/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h similarity index 100% rename from src/compiler/nir/spirv/vtn_private.h rename to src/compiler/spirv/vtn_private.h diff --git a/src/compiler/nir/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c similarity index 100% rename from src/compiler/nir/spirv/vtn_variables.c rename to src/compiler/spirv/vtn_variables.c diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 52748a0..90732db 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -31,7 +31,7 @@ #include "anv_private.h" #include "brw_nir.h" #include "anv_nir.h" -#include "nir/spirv/nir_spirv.h" +#include "spirv/nir_spirv.h" /* Needed for SWIZZLE macros */ #include "program/prog_instruction.h"