i965: Fix Android build by removing relative includes
authorChad Versace <chad@chad-versace.us>
Fri, 26 Aug 2011 20:58:41 +0000 (13:58 -0700)
committerChad Versace <chad@chad-versace.us>
Tue, 30 Aug 2011 16:32:04 +0000 (09:32 -0700)
Replace each occurence of
    #include "../glsl/*.h"
with
    #include "glsl/*.h"

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad@chad-versace.us>
24 files changed:
src/mesa/drivers/dri/i965/brw_clip.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_cubemap_normalize.cpp
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp
src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_sf.c
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_state_batch.c
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vtbl.c
src/mesa/drivers/dri/i965/brw_wm.c

index d82206bae52176917bea1784e6f686ad142b3c46..b49c9f412ade41b2bbeb134ea71d59701d13fb5a 100644 (file)
@@ -42,7 +42,7 @@
 #include "brw_state.h"
 #include "brw_clip.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 #define FRONT_UNFILLED_BIT  0x1
 #define BACK_UNFILLED_BIT   0x2
index e00e24885ad4b6570f497492374d0ba4b05f94d9..898ad8a83e8c031e3463b788292ca27f15d1bc25 100644 (file)
@@ -40,7 +40,7 @@
 #include "brw_state.h"
 #include "intel_span.h"
 #include "tnl/t_pipeline.h"
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 /***************************************
  * Mesa's Driver Functions
index 8574169e472634bffa9f6214ff02412350f538fe..ff9485c22249d982a08ae8e5feac7852a999c146 100644 (file)
@@ -30,8 +30,8 @@
  * \author Eric Anholt <eric@anholt.net>
  */
 
-#include "../glsl/glsl_types.h"
-#include "../glsl/ir.h"
+#include "glsl/glsl_types.h"
+#include "glsl/ir.h"
 
 class brw_cubemap_normalize_visitor : public ir_hierarchical_visitor {
 public:
index c1f2520eed80e51c2f4d832cfe7eadb622488c32..0e04af99ff998db54b57a2423337583d74743b90 100644 (file)
@@ -34,7 +34,7 @@
 #include "brw_defines.h"
 #include "brw_eu.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 /* Returns the corresponding conditional mod for swapping src0 and
  * src1 in e.g. CMP.
index c5013de7ec16ebe280cce586de6e6787051a9688..e8d09983405461da7c93e938da67d4ae6730040f 100644 (file)
@@ -34,7 +34,7 @@
 #include "brw_defines.h"
 #include "brw_eu.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 /***********************************************************************
  * Internal helper for constructing instructions
index 0b0445ea142f51495f29511663d6ecaf7382c4d5..8b85f3bc1edcab6220a3d654135197fbe20065ae 100644 (file)
@@ -46,8 +46,8 @@ extern "C" {
 }
 #include "brw_shader.h"
 #include "brw_fs.h"
-#include "../glsl/glsl_types.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/glsl_types.h"
+#include "glsl/ir_print_visitor.h"
 
 #define MAX_INSTRUCTION (1 << 30)
 
index a06949e9deb7049a68b8310e81b069e90c6dfe2a..f3d8fbf3ec15b2bfc00eb3a06068bac5020f35cb 100644 (file)
@@ -44,8 +44,8 @@ extern "C" {
 #include "brw_eu.h"
 #include "brw_wm.h"
 }
-#include "../glsl/glsl_types.h"
-#include "../glsl/ir.h"
+#include "glsl/glsl_types.h"
+#include "glsl/ir.h"
 
 enum register_file {
    ARF = BRW_ARCHITECTURE_REGISTER_FILE,
index 46677a6f2ef7b2de8f0c4b904f7221449824c233..2ba96e0064c008e6a1cac5d7170c42966a7c9791 100644 (file)
@@ -45,9 +45,9 @@ extern "C" {
 #include "main/core.h"
 #include "brw_wm.h"
 }
-#include "../glsl/ir.h"
-#include "../glsl/ir_expression_flattening.h"
-#include "../glsl/glsl_types.h"
+#include "glsl/ir.h"
+#include "glsl/ir_expression_flattening.h"
+#include "glsl/glsl_types.h"
 
 class ir_channel_expressions_visitor : public ir_hierarchical_visitor {
 public:
index 28efbd3605f025f08f692bfe3f0f75212539f270..ba0d2a26f1e98393ec69cc1d0fe57e1c1b9c308d 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
 } /* extern "C" */
 
 #include "brw_fs.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/ir_print_visitor.h"
 
 void
 fs_visitor::generate_fb_write(fs_inst *inst)
index 7c5414ac26cd4753d6a8b5860ea42ae489f20602..6e38cc250e8b92b8caea790982a3ed93ca0b3712 100644 (file)
@@ -26,9 +26,9 @@
  */
 
 #include "brw_fs.h"
-#include "../glsl/glsl_types.h"
-#include "../glsl/ir_optimization.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/glsl_types.h"
+#include "glsl/ir_optimization.h"
+#include "glsl/ir_print_visitor.h"
 
 static void
 assign_reg(int *reg_hw_locations, fs_reg *reg, int reg_width)
index 0ea4e5c36f091b0e47b982c472a0c3b6dbb71a9a..1f83ee278b2b68b160921c481df4f3077fa7cd78 100644 (file)
@@ -26,9 +26,9 @@
  */
 
 #include "brw_fs.h"
-#include "../glsl/glsl_types.h"
-#include "../glsl/ir_optimization.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/glsl_types.h"
+#include "glsl/ir_optimization.h"
+#include "glsl/ir_print_visitor.h"
 
 /** @file brw_fs_schedule_instructions.cpp
  *
index a9a60c2fd8aa6ffa4095994ab87fa8aab976cf02..42d2a509be98cc890ca4794f817be61a0e40451a 100644 (file)
@@ -41,11 +41,11 @@ extern "C" {
 #include "main/core.h"
 #include "intel_context.h"
 }
-#include "../glsl/ir.h"
-#include "../glsl/ir_visitor.h"
-#include "../glsl/ir_print_visitor.h"
-#include "../glsl/ir_rvalue_visitor.h"
-#include "../glsl/glsl_types.h"
+#include "glsl/ir.h"
+#include "glsl/ir_visitor.h"
+#include "glsl/ir_print_visitor.h"
+#include "glsl/ir_rvalue_visitor.h"
+#include "glsl/glsl_types.h"
 
 static bool debug = false;
 
index cc6c56983fef9a8fa6363d81da4079344ac4ed30..fc9d0e715db7f79ea0bb94febff3f44178bf970a 100644 (file)
@@ -46,9 +46,9 @@ extern "C" {
 }
 #include "brw_shader.h"
 #include "brw_fs.h"
-#include "../glsl/glsl_types.h"
-#include "../glsl/ir_optimization.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/glsl_types.h"
+#include "glsl/ir_optimization.h"
+#include "glsl/ir_print_visitor.h"
 
 void
 fs_visitor::visit(ir_variable *ir)
index 3171e97d7af912b00bb8f0a059417a922053933d..f4656af13eb96ac5011f81dcece24fac25853de7 100644 (file)
@@ -42,7 +42,7 @@
 #include "brw_state.h"
 #include "brw_gs.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 static void compile_gs_prog( struct brw_context *brw,
                             struct brw_gs_prog_key *key )
index 09b5be4c96efd8b9834551201f74430bf0a90ea3..97bd2221a3c6bcf367f2310c63d6b2a7174d553c 100644 (file)
@@ -36,7 +36,7 @@
 #include "program/program.h"
 #include "program/programopt.h"
 #include "tnl/tnl.h"
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 #include "brw_context.h"
 #include "brw_wm.h"
index fca30a74aaf8ba2a6615960b5aeeed2e78e62fab..1c149dbfd1e0b8962593657e58d2524bcb3c8e20 100644 (file)
@@ -43,7 +43,7 @@
 #include "brw_sf.h"
 #include "brw_state.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 static void compile_sf_prog( struct brw_context *brw,
                             struct brw_sf_prog_key *key )
index 3ff6bbaed47eb555989bc4fb72c0327283f384b8..597c4cdf71d53f9c4003e65e8828c43507afeed4 100644 (file)
@@ -27,8 +27,8 @@ extern "C" {
 #include "brw_vs.h"
 }
 #include "brw_fs.h"
-#include "../glsl/ir_optimization.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/ir_optimization.h"
+#include "glsl/ir_print_visitor.h"
 
 struct gl_shader *
 brw_new_shader(struct gl_context *ctx, GLuint name, GLuint type)
index 5a983c3d8477a6734a8f6e00a42cf9853494a7d9..81d034ce822770c8209347db2d0db0e52d2afad4 100644 (file)
@@ -32,7 +32,7 @@
 #include "brw_state.h"
 #include "intel_batchbuffer.h"
 #include "main/imports.h"
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 static void
 brw_track_state_batch(struct brw_context *brw,
index 1db910e2b9913858e3432d209a7e79a4456127df..c03d204f076d1f72c7c94a87c6cdbc67045c7b30 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
 #include "brw_eu.h"
 };
 
-#include "../glsl/ir.h"
+#include "glsl/ir.h"
 
 namespace brw {
 
index 65ac7d9dc09778ff9bb5b48bf9d05c9bb4bc977e..47031bc998137052beb29126538a4e858065986d 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #include "brw_vec4.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/ir_print_visitor.h"
 
 extern "C" {
 #include "brw_eu.h"
index 3f052ff64cf776eab19039511b9c2a34388390b7..72e0c0755f78a2b293113ea9334f282b9b872e15 100644 (file)
@@ -27,7 +27,7 @@ extern "C" {
 } /* extern "C" */
 
 #include "brw_vec4.h"
-#include "../glsl/ir_print_visitor.h"
+#include "glsl/ir_print_visitor.h"
 
 using namespace brw;
 
index 3373e707d98877aa38257cc865ec183a73bcdbf8..f3a394bc62b976cc46c14a33fb29fa7579f53c4b 100644 (file)
@@ -38,7 +38,7 @@
 #include "program/prog_print.h"
 #include "program/prog_parameter.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 static bool
 do_vs_prog(struct brw_context *brw,
index 40360b23fff9562f23e8fdb20f303e9637c0875d..8b3677b422e7dbbef9feb31e10b7b9b8ee4a1d5a 100644 (file)
@@ -49,7 +49,7 @@
 #include "brw_vs.h"
 #include "brw_wm.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 static void
 dri_bo_release(drm_intel_bo **bo)
index e76832515fe68cc9ac63690b7ffd38b6086424f4..f746b31f66c6266431e0d6d63b0494191a6da154 100644 (file)
@@ -36,7 +36,7 @@
 #include "main/samplerobj.h"
 #include "program/prog_parameter.h"
 
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
 
 /** Return number of src args for given instruction */
 GLuint brw_wm_nr_args( GLuint opcode )