From 62b07b934ecce1f370f3566ad3613341ff86aba1 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 28 Oct 2014 17:27:39 -0700 Subject: [PATCH] i965: Rename brw_vec4_gs.[ch] to brw_gs.[ch]. These source files support actual geometry shaders, so using "gs" for the name makes a lot of sense. We're going to be adding SIMD8 geometry shader support as well, at which point "vec4_gs" will be a misnomer. Signed-off-by: Kenneth Graunke Acked-by: Matt Turner Acked-by: Jason Ekstrand Acked-by: Iago Toral Quiroga --- src/mesa/drivers/dri/i965/Makefile.sources | 2 +- src/mesa/drivers/dri/i965/{brw_vec4_gs.c => brw_gs.c} | 2 +- src/mesa/drivers/dri/i965/{brw_vec4_gs.h => brw_gs.h} | 0 src/mesa/drivers/dri/i965/brw_shader.cpp | 2 +- src/mesa/drivers/dri/i965/brw_state_cache.c | 3 +-- 5 files changed, 4 insertions(+), 5 deletions(-) rename src/mesa/drivers/dri/i965/{brw_vec4_gs.c => brw_gs.c} (99%) rename src/mesa/drivers/dri/i965/{brw_vec4_gs.h => brw_gs.h} (100%) diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources index 9f29551256c..711aabe462a 100644 --- a/src/mesa/drivers/dri/i965/Makefile.sources +++ b/src/mesa/drivers/dri/i965/Makefile.sources @@ -67,6 +67,7 @@ i965_FILES = \ brw_fs_sel_peephole.cpp \ brw_fs_vector_splitting.cpp \ brw_fs_visitor.cpp \ + brw_gs.c \ brw_gs_state.c \ brw_gs_surface_state.c \ brw_interpolation_map.c \ @@ -102,7 +103,6 @@ i965_FILES = \ brw_vec4_copy_propagation.cpp \ brw_vec4_cse.cpp \ brw_vec4_generator.cpp \ - brw_vec4_gs.c \ brw_vec4_gs_visitor.cpp \ brw_vec4_live_variables.cpp \ brw_vec4_reg_allocate.cpp \ diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c similarity index 99% rename from src/mesa/drivers/dri/i965/brw_vec4_gs.c rename to src/mesa/drivers/dri/i965/brw_gs.c index 93c9d37cc59..f44ac26d580 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -27,7 +27,7 @@ * State atom for client-programmable geometry shaders, and support code. */ -#include "brw_vec4_gs.h" +#include "brw_gs.h" #include "brw_context.h" #include "brw_vec4_gs_visitor.h" #include "brw_state.h" diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h similarity index 100% rename from src/mesa/drivers/dri/i965/brw_vec4_gs.h rename to src/mesa/drivers/dri/i965/brw_gs.h diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index 21dcf2da0e2..10f8db7e998 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp @@ -26,7 +26,7 @@ extern "C" { #include "brw_context.h" } #include "brw_vs.h" -#include "brw_vec4_gs.h" +#include "brw_gs.h" #include "brw_fs.h" #include "brw_cfg.h" #include "glsl/ir_optimization.h" diff --git a/src/mesa/drivers/dri/i965/brw_state_cache.c b/src/mesa/drivers/dri/i965/brw_state_cache.c index eb7452ec130..cf42ada7495 100644 --- a/src/mesa/drivers/dri/i965/brw_state_cache.c +++ b/src/mesa/drivers/dri/i965/brw_state_cache.c @@ -49,8 +49,7 @@ #include "brw_state.h" #include "brw_vs.h" #include "brw_wm.h" -#include "brw_vs.h" -#include "brw_vec4_gs.h" +#include "brw_gs.h" #define FILE_DEBUG_FLAG DEBUG_STATE -- 2.30.2