i965: Reduce cross-pollination between the DRI driver and compiler
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Mar 2017 16:58:43 +0000 (08:58 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Mar 2017 00:14:03 +0000 (16:14 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
57 files changed:
src/intel/blorp/blorp_blit.c
src/intel/tools/disasm.c
src/mesa/drivers/dri/i965/brw_clip.c
src/mesa/drivers/dri/i965/brw_clip_line.c
src/mesa/drivers/dri/i965/brw_clip_point.c
src/mesa/drivers/dri/i965/brw_clip_tri.c
src/mesa/drivers/dri/i965/brw_clip_unfilled.c
src/mesa/drivers/dri/i965/brw_clip_util.c
src/mesa/drivers/dri/i965/brw_compiler.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_disasm.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu_compact.c
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_eu_util.c
src/mesa/drivers/dri/i965/brw_ff_gs.c
src/mesa/drivers/dri/i965/brw_ff_gs_emit.c
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_builder.h
src/mesa/drivers/dri/i965/brw_fs_surface_builder.h
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_inst.h
src/mesa/drivers/dri/i965/brw_interpolation_map.c
src/mesa/drivers/dri/i965/brw_ir_vec4.h
src/mesa/drivers/dri/i965/brw_link.cpp
src/mesa/drivers/dri/i965/brw_nir.c
src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_program_cache.c
src/mesa/drivers/dri/i965/brw_sf.c
src/mesa/drivers/dri/i965/brw_sf_emit.c
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_state_dump.c
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_tcs.c
src/mesa/drivers/dri/i965/brw_tes.c
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_builder.h
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_tcs.cpp
src/mesa/drivers/dri/i965/brw_vec4_tes.cpp
src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.h
src/mesa/drivers/dri/i965/brw_vue_map.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/gen7_cs_state.c
src/mesa/drivers/dri/i965/intel_debug.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/test_eu_compact.c
src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp

index bb73e51de09d772a2218c6a7a87dae2d37b3a470..0cc5a840338f92abc1780734bd77f3f7a82c4f81 100644 (file)
@@ -24,7 +24,6 @@
 #include "compiler/nir/nir_builder.h"
 
 #include "blorp_priv.h"
-#include "brw_meta_util.h"
 
 /* header-only include needed for _mesa_unorm_to_float and friends. */
 #include "mesa/main/format_utils.h"
index 4ac7b902564a4da2da398c3075de9cff3d5186c2..96c6ce290a0b822c408adc007c520ba59569821c 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <stdlib.h>
 
-#include "brw_context.h"
 #include "brw_inst.h"
 #include "brw_eu.h"
 
index e375674ec15964336ab7ce9daf87b20cdd832e41..4187207c6d01961400461e2003a862dae818d7cb 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_util.h"
 #include "brw_state.h"
 #include "brw_clip.h"
index f9cabd2f98dcd41178ac6a5cf76564d1959fd1a4..788dc9666cec9d44917fbb757479677997e375cc 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_clip.h"
 
 
index 5cf2f5eeee6aa626c4349de5625df64d1dbe4f93..bdbf96953483cf7620aa0403635149b34f9e6ee3 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_clip.h"
 
 
index 52402e30bcf6324efef436aedbb28c83e48783d5..d98e1ccb5f00941e196d4649d9545666ce50cdb7 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_clip.h"
 
 static void release_tmps( struct brw_clip_compile *c )
index 7c06857ff615fc2f75b70076d7c60669d2b19327..65ccf33e37b49210f122da2cddffbd5f8dc96ba9 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_clip.h"
 
 
index 4f1b0fd9fc9d834810c949eb7d20c8362bff038f..e0fdd3d7eeaa3f5235fcf2ae68953f243d7b7920 100644 (file)
@@ -38,7 +38,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_clip.h"
 
 
index 18ca4446e3e88d25572c7dc87cef3d31510cd9c6..f414099c7dad7ff86693927364a77faf38b2080a 100644 (file)
@@ -22,8 +22,8 @@
  */
 
 #include "brw_compiler.h"
-#include "brw_context.h"
 #include "brw_shader.h"
+#include "intel_debug.h"
 #include "compiler/nir/nir.h"
 #include "main/errors.h"
 #include "util/debug.h"
index fb97743b86a9de70d99c6170cc61f1ae0112d8d5..3688ba48111c0528aab8f8a17fb9df973405ab76 100644 (file)
@@ -53,7 +53,6 @@
 #include "brw_context.h"
 #include "brw_defines.h"
 #include "brw_blorp.h"
-#include "brw_compiler.h"
 #include "brw_draw.h"
 #include "brw_state.h"
 
index 16b7945bd7ef9632255dc93eef13215bfea3e57e..1653ad59c499766124aff29b233019e5211e57e4 100644 (file)
@@ -24,9 +24,7 @@
 #include "util/ralloc.h"
 #include "brw_context.h"
 #include "brw_cs.h"
-#include "brw_eu.h"
 #include "brw_wm.h"
-#include "brw_shader.h"
 #include "intel_mipmap_tree.h"
 #include "brw_state.h"
 #include "intel_batchbuffer.h"
index f443cac32789fce3232eed24a128c1d6e51aa73a..b08c40c4f10eda78977f60fd129110f9c16336cf 100644 (file)
@@ -29,6 +29,8 @@
   *   Keith Whitwell <keithw@vmware.com>
   */
 
+#include "util/macros.h"
+
 #define INTEL_MASK(high, low) (((1u<<((high)-(low)+1))-1)<<(low))
 /* Using the GNU statement expression extension */
 #define SET_FIELD(value, field)                                         \
index cd553b3cce0fa15bc8d1a3d1352ada1a7534b49a..6afbb24ed2bdb196dfc2a685da33a7dfaf1274c1 100644 (file)
@@ -24,8 +24,9 @@
 #include <string.h>
 #include <stdarg.h>
 
-#include "brw_context.h"
 #include "brw_defines.h"
+#include "brw_inst.h"
+#include "brw_shader.h"
 #include "brw_reg.h"
 #include "brw_inst.h"
 #include "brw_eu.h"
index 940ce70c6486efa98b54141896fc4a16bf15b1fb..e3aaeb806de32053bdda07ee0b78d5092f089f34 100644 (file)
@@ -45,7 +45,6 @@
 #include "brw_defines.h"
 #include "brw_context.h"
 #include "brw_state.h"
-#include "brw_vs.h"
 
 #include "intel_batchbuffer.h"
 #include "intel_buffers.h"
index 6a422bb798b77409a86e18ae01c523e0a82d2131..e4cbf53e41b5ded6684e520a9259d2fa6c27b19a 100644 (file)
   */
 
 
-#include "brw_context.h"
 #include "brw_defines.h"
 #include "brw_eu.h"
+#include "brw_shader.h"
+#include "intel_debug.h"
 
 #include "util/ralloc.h"
 
index 68321e785e837b57ee327f853c9033f6ff43c0f5..778fb6aef98b4fe60435b97739b3de756289c193 100644 (file)
  * Gen 8 adds support for compacting 3-src instructions.
  */
 
-#include "brw_context.h"
 #include "brw_eu.h"
+#include "brw_shader.h"
 #include "intel_asm_annotation.h"
+#include "intel_debug.h"
 #include "util/u_atomic.h" /* for p_atomic_cmpxchg */
 
 static const uint32_t g45_control_index_table[32] = {
index f4bec33f53b76918a09e0e8ad4889f4d90a6ad91..be4f46faa297e3ef8bbd14929b6c79e3bcecfa19 100644 (file)
@@ -30,7 +30,6 @@
   */
 
 
-#include "brw_context.h"
 #include "brw_defines.h"
 #include "brw_eu.h"
 
index f74e3fe58d31a0ca5c822f719e379ebac499f24e..4de0db45918b033f3d9510bc528505769e388fb4 100644 (file)
@@ -30,7 +30,6 @@
   */
 
 
-#include "brw_context.h"
 #include "brw_defines.h"
 #include "brw_eu.h"
 
index 0316d0f8c3bb36fded57b98b7d131459ce19e8ce..b7b4b716011de44a2c5b6ea356daa61f5a8a1d97 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_util.h"
 #include "brw_state.h"
 #include "brw_ff_gs.h"
index 7a3e62a7d2bf6ecf1af1c6842da420c975b8c157..6941268c3410bfd1e0ab1e564e6eb563cffbc10e 100644 (file)
@@ -38,7 +38,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_ff_gs.h"
 
 /**
index 67bdb7a43e57a4e9d27f58f264e9bdb3f9e81003..f5773864bd155223dce131f88628deed9ca677e0 100644 (file)
@@ -29,7 +29,6 @@
  */
 
 #include "main/macros.h"
-#include "brw_context.h"
 #include "brw_eu.h"
 #include "brw_fs.h"
 #include "brw_cs.h"
@@ -38,6 +37,7 @@
 #include "brw_cfg.h"
 #include "brw_program.h"
 #include "brw_dead_control_flow.h"
+#include "intel_debug.h"
 #include "compiler/glsl_types.h"
 #include "compiler/nir/nir_builder.h"
 #include "program/prog_parameter.h"
index e8cbb9c595b7e1ec90a20901f75db68281b0dde8..87394bc17b3fc29bedfafbd874ca6f126d30afb7 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "brw_ir_fs.h"
 #include "brw_shader.h"
-#include "brw_context.h"
 
 namespace brw {
    /**
index 17318ce2afff55b0647238dc5f170c7cf91acf60..32b56d387f6e6280ada6ad64ffbc7faf984de029 100644 (file)
@@ -26,7 +26,6 @@
 #define BRW_FS_SURFACE_BUILDER_H
 
 #include "brw_fs_builder.h"
-#include "brw_context.h"
 
 namespace brw {
    namespace surface_access {
index 299620311a5e675c790bc953a2a2482b33a96877..412ea97dc09d87d95d04224071d9e790b4450e9f 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "brw_gs.h"
 #include "brw_context.h"
-#include "brw_vec4_gs_visitor.h"
 #include "brw_state.h"
 #include "brw_ff_gs.h"
 #include "brw_nir.h"
index d6a2105710dc612183fd020f358b052a45222c34..e73093eb8dd4a2e47501028e34faf47f943bb2e1 100644 (file)
@@ -33,7 +33,8 @@
 
 #include <stdint.h>
 
-#include "brw_context.h"
+#include "brw_defines.h"
+#include "common/gen_device_info.h"
 
 #ifdef __cplusplus
 extern "C" {
index 8d53e5234a6c267627afb8e8a76ebc916e632cbc..7b9f58eb6ee6be7d7bf719bf8bdcfd515ccbd73a 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 #include "brw_compiler.h"
-#include "brw_context.h"
 #include "compiler/nir/nir.h"
 
 static char const *get_qual_name(int mode)
index 57fc6be8f8972dd1f28af6d5eea4cf769767a049..bd026eb2aeb2a31237b92efd8f7ce80137139a3d 100644 (file)
@@ -26,7 +26,6 @@
 #define BRW_IR_VEC4_H
 
 #include "brw_shader.h"
-#include "brw_context.h"
 
 namespace brw {
 
index 261d8861c35469d85791adb47c57fee96f97415b..8611d485216d71c891eaf322545e38b4df4cbeba 100644 (file)
@@ -22,8 +22,6 @@
  */
 
 #include "brw_context.h"
-#include "brw_shader.h"
-#include "brw_fs.h"
 #include "brw_nir.h"
 #include "brw_program.h"
 #include "compiler/glsl/ir.h"
index 74703490c91a49c0698114d3cbbc18771d3321db..15e290a1e2772bdf8ab91752a52c9263f63a6223 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "brw_nir.h"
 #include "brw_shader.h"
+#include "intel_debug.h"
 #include "compiler/glsl_types.h"
 #include "compiler/nir/nir_builder.h"
 
index 9ebd7d83d6c1168cd9b435194aece5c9ca1ff5dc..024cf7914d1ab90f61ba1601557203741e30c6c5 100644 (file)
@@ -21,8 +21,8 @@
  * IN THE SOFTWARE.
  */
 
-#include "brw_shader.h"
 #include "brw_nir.h"
+#include "brw_shader.h"
 #include "compiler/glsl/ir_uniform.h"
 
 static void
index 8f89849cb49b530634c0674310669ee5682dc578..dbc39e53f2a9077724b638336cfc1c260b559764 100644 (file)
@@ -43,7 +43,6 @@
 
 #include "brw_program.h"
 #include "brw_context.h"
-#include "brw_shader.h"
 #include "brw_nir.h"
 #include "intel_batchbuffer.h"
 
index a9a4c9262072633b9b9f610d0fffef2fcbebacb2..0ff4683f34ed52d95d286b31e82f1653e1ebc28c 100644 (file)
 #include "main/imports.h"
 #include "intel_batchbuffer.h"
 #include "brw_state.h"
-#include "brw_vs.h"
 #include "brw_wm.h"
 #include "brw_gs.h"
 #include "brw_cs.h"
 #include "brw_program.h"
+#include "brw_eu.h"
 
 #define FILE_DEBUG_FLAG DEBUG_STATE
 
index 468050a651c54e2afe49ab8e0b9b366f290693c5..ff15c9755ff30625fc7a3268c1a4558adb77256b 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_util.h"
 #include "brw_sf.h"
 #include "brw_state.h"
index 5f31fa51602dd59e26b9031e70365ee587eaba5a..dc905034a6273c5203f25f06dc5d94a8cc4c4174 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_util.h"
 #include "brw_sf.h"
 
index 53576da777319bce3f42a728779d8b12a8a9b4ee..7522a938ad6a4f2d13b4f1c27ef9903b699a62bb 100644 (file)
  * IN THE SOFTWARE.
  */
 
-#include "brw_context.h"
 #include "brw_cfg.h"
 #include "brw_eu.h"
 #include "brw_fs.h"
 #include "brw_nir.h"
 #include "brw_vec4_tes.h"
+#include "intel_debug.h"
 #include "main/uniforms.h"
+#include "util/macros.h"
 
 enum brw_reg_type
 brw_type_for_base_type(const struct glsl_type *type)
index 939a45aa7ef42d174569555ecd010cda6ca83530..5f53c74d826e9ad218d7a9eccbb97cc29a3a7ec1 100644 (file)
@@ -25,8 +25,9 @@
 
 #include <stdint.h>
 #include "brw_reg.h"
+#include "brw_compiler.h"
 #include "brw_defines.h"
-#include "brw_context.h"
+#include "brw_inst.h"
 #include "compiler/nir/nir.h"
 
 #ifdef __cplusplus
index 13e76ec9d83f9ee81aaa7ed485099eff07f3f2fc..bc9b9a352df18f4ed01923340ae5c385f81acd4c 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "brw_context.h"
 #include "brw_defines.h"
-#include "brw_eu.h"
 #include "brw_state.h"
 
 static const char *sampler_mip_filter[] = {
index 52b74a7c5274f7fe1825e0d900a49de39364cd9f..b3bd0ce8cb409632c834a319bb3867cb2ad598cb 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "brw_context.h"
 #include "brw_state.h"
+#include "brw_program.h"
 #include "drivers/common/meta.h"
 #include "intel_batchbuffer.h"
 #include "intel_buffers.h"
index 64bfc40d4d1fe15f94bfddc7be9dd1c4a6074aca..2bef1beb9626a3228f408784e0ab7de223f3f5cd 100644 (file)
@@ -30,7 +30,6 @@
 #include "brw_context.h"
 #include "brw_nir.h"
 #include "brw_program.h"
-#include "brw_shader.h"
 #include "brw_state.h"
 #include "program/prog_parameter.h"
 #include "nir_builder.h"
index 3da53579ac0134a15925b34b5fd7c15fc83c5fdd..8313d38443fc46bb4d05aff7de8f7ebefba578c1 100644 (file)
@@ -30,7 +30,6 @@
 #include "brw_context.h"
 #include "brw_nir.h"
 #include "brw_program.h"
-#include "brw_shader.h"
 #include "brw_state.h"
 #include "program/prog_parameter.h"
 
index 14a4f8544fbd4554a0b709b60c0f0d70662a1791..95199fbc799dbd1017c57e8e42fb44dd559842ea 100644 (file)
@@ -29,6 +29,7 @@
 #include "brw_vec4_live_variables.h"
 #include "brw_vec4_vs.h"
 #include "brw_dead_control_flow.h"
+#include "intel_debug.h"
 #include "program/prog_parameter.h"
 
 #define MAX_INSTRUCTION (1 << 30)
index 8352542d498039b414bd3ec5fe8bc97705c35c4c..4c3efe8457b16e21e1a5199ba938db2d6956b508 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "brw_ir_vec4.h"
 #include "brw_ir_allocator.h"
-#include "brw_context.h"
 
 namespace brw {
    /**
index b2ebdb39b98e1a96c92167bed9a60fa37ea28c1b..83f5711c1b80cdf23fe6ccd3edd76a1b03348082 100644 (file)
@@ -24,6 +24,7 @@
 #include "brw_cfg.h"
 #include "brw_eu.h"
 #include "brw_program.h"
+#include "intel_debug.h"
 
 using namespace brw;
 
index 02200689897e9e9c462525b2e38d95cd0d40981e..3a8bc77531b7014b115ec888b0f5f700cbd3262b 100644 (file)
@@ -31,6 +31,7 @@
 #include "gen6_gs_visitor.h"
 #include "brw_fs.h"
 #include "brw_nir.h"
+#include "intel_debug.h"
 
 namespace brw {
 
index 3ea90107f760daebdcd2e250a80487bec6802d71..d27074c1312bce125b25bbbfc27bccf548ffb528 100644 (file)
@@ -30,6 +30,7 @@
 #include "brw_nir.h"
 #include "brw_vec4_tcs.h"
 #include "brw_fs.h"
+#include "intel_debug.h"
 
 namespace brw {
 
index ae6d99bed8305159342bef2240facbee3fcc83d2..0c05ab0c1572db82aa6a662bfc5b9df0b8e31aae 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "brw_vec4_tes.h"
 #include "brw_cfg.h"
+#include "intel_debug.h"
 
 namespace brw {
 
index 2c1051c9098441ce460127ca65594473000f8def..a80a61bb4fa55e53f3fd3661dc85e071307f7c52 100644 (file)
@@ -23,7 +23,7 @@
 
 
 #include "brw_vec4_vs.h"
-
+#include "intel_debug.h"
 
 namespace brw {
 
index 98b0bf18d905bb0e21ddb27ee0cf5ba2e2724096..6e052d733527068b5f99ade5361b56691c92cb31 100644 (file)
@@ -33,8 +33,7 @@
 #ifndef BRW_VS_H
 #define BRW_VS_H
 
-
-#include "brw_vec4.h"
+#include "brw_context.h"
 
 #ifdef __cplusplus
 extern "C" {
index 178a4e5ee839c4596b479b4694f7c7e89ec34d85..89120684cbad92def15507ba9742e54892dd445f 100644 (file)
@@ -40,7 +40,8 @@
  */
 
 
-#include "brw_context.h"
+#include "brw_compiler.h"
+#include "intel_debug.h"
 
 static inline void
 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot)
index dd3e20180afde040bdd3dd894d089b7ff83b955f..c1f207e9518a0af74fafd5d4dc6b56ee02ce4e95 100644 (file)
@@ -26,7 +26,6 @@
 #include "brw_context.h"
 #include "brw_wm.h"
 #include "brw_state.h"
-#include "brw_shader.h"
 #include "main/enums.h"
 #include "main/formats.h"
 #include "main/fbobject.h"
index d1bf868061e284ed6ed2f34e807c65643030640d..613172a40e2e87e1a67281d395aab49e2eec2516 100644 (file)
@@ -36,7 +36,6 @@
 #include <stdbool.h>
 
 #include "brw_context.h"
-#include "brw_eu.h"
 
 #ifdef __cplusplus
 extern "C" {
index bae4fd2fa6407c53c783c2d6fbe33f7c651dd1f7..dc3cc66407a415c4a747b22ee7f97f8a3d101e8c 100644 (file)
 
 #include "util/ralloc.h"
 #include "brw_context.h"
+#include "brw_defines.h"
 #include "brw_cs.h"
-#include "brw_eu.h"
 #include "brw_wm.h"
-#include "brw_shader.h"
 #include "intel_mipmap_tree.h"
 #include "intel_batchbuffer.h"
 #include "brw_state.h"
index e8e329bc60d4075bf09d573748f2e93a9ed71b3c..8c81c1d306928542de3879cb3299b672048a2726 100644 (file)
@@ -24,6 +24,9 @@
  */
 #pragma once
 
+#include <stdint.h>
+#include "compiler/shader_enums.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index d6a88a149f5127ec975091ccb39878b7ec3a58af..f98431f86690d1047f67625c9640c0e1a9549b43 100644 (file)
@@ -35,7 +35,7 @@
 #include "main/version.h"
 #include "swrast/s_renderbuffer.h"
 #include "util/ralloc.h"
-#include "brw_shader.h"
+#include "brw_defines.h"
 #include "compiler/nir/nir.h"
 
 #include "utils.h"
index 874412cd3c3317eb757c7790b3adbe605dbcaea3..d7453613b6eaf449de5a111b219e73151c8e8794 100644 (file)
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <stdbool.h>
 #include "util/ralloc.h"
-#include "brw_context.h"
 #include "brw_eu.h"
 
 static bool
index b0eaf5c6625c201c38748d7e9a9da50676f706cf..f4f91d8c8c70d2afd008be967968e285fc89e55f 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <gtest/gtest.h>
 #include "brw_vec4.h"
-#include "brw_vs.h"
 #include "program/program.h"
 
 using namespace brw;
index 81d173566760d60906386ff678e87eb414958a35..a3dbb0a72e4605b9a265354dd0f62cdd318106ce 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <gtest/gtest.h>
 #include "brw_vec4.h"
-#include "brw_vs.h"
 #include "program/program.h"
 
 using namespace brw;