i965: Clean up #includes in the compiler.
authorMatt Turner <mattst88@gmail.com>
Mon, 23 Nov 2015 02:27:42 +0000 (18:27 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 24 Nov 2015 18:05:33 +0000 (10:05 -0800)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
55 files changed:
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_blorp.h
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/i965/brw_blorp_blit_eu.h
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_disasm.c
src/mesa/drivers/dri/i965/brw_eu.h
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_cmod_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.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_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_schedule_instructions.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/drivers/dri/i965/brw_util.c
src/mesa/drivers/dri/i965/brw_util.h
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_cmod_propagation.cpp
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_vec4_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.h
src/mesa/drivers/dri/i965/brw_wm_iz.cpp
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
src/mesa/drivers/dri/i965/gen7_blorp.cpp
src/mesa/drivers/dri/i965/gen7_cs_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_surface_state.c
src/mesa/drivers/dri/i965/intel_debug.c
src/mesa/drivers/dri/i965/intel_extensions.c
src/mesa/drivers/dri/i965/intel_resolve_map.c
src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp

index 577b71e9fd292cb548361ed0719d8852fcb97194..1bc6d15969fa6feca539aa142d0c26fb793f1a79 100644 (file)
@@ -26,7 +26,6 @@
 #include "intel_fbo.h"
 
 #include "brw_blorp.h"
-#include "brw_defines.h"
 #include "brw_state.h"
 
 #define FILE_DEBUG_FLAG DEBUG_BLORP
index ae494f90fbd973306af0f2adff8906451d5a70aa..a04a1dfa719d7b3363a7ea1c7bdb35437d3c9d17 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <stdint.h>
 
-#include "brw_context.h"
 #include "brw_reg.h"
 #include "intel_mipmap_tree.h"
 
index cb3c6f77808ef73290d38e045fa72f21b4b882a5..6439fbf927ddaf98e668994d672eb602a7556794 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "main/teximage.h"
 #include "main/fbobject.h"
-#include "main/renderbuffer.h"
 
 #include "intel_fbo.h"
 
index 8e44eb482c4e2af39eb64497dc040121affbe208..14a8e50611b47a66a772c37457d709c78f153dae 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef BRW_BLORP_BLIT_EU_H
 #define BRW_BLORP_BLIT_EU_H
 
-#include "brw_context.h"
 #include "brw_fs.h"
 
 class brw_blorp_eu_emitter
index fe45edb89ffb36a9bebb9991086370fe63367e79..e45df4668824e752cebaf21f9d76b4ccb5436852 100644 (file)
 #define BRWCONTEXT_INC
 
 #include <stdbool.h>
-#include <string.h>
-#include "main/imports.h"
 #include "main/macros.h"
-#include "main/mm.h"
 #include "main/mtypes.h"
 #include "brw_structs.h"
 #include "brw_compiler.h"
 #include "intel_aub.h"
-#include "program/prog_parameter.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -50,9 +46,7 @@ extern "C" {
         #define virtual virt
 #endif
 
-#include <drm.h>
 #include <intel_bufmgr.h>
-#include <i915_drm.h>
 #ifdef __cplusplus
        #undef virtual
 }
index 9c92faa6db825dcc0dde56dc813e22ba21964fb5..9ef9bd4d8bd53ed56e5c1d3d25465641034ed887 100644 (file)
@@ -32,6 +32,7 @@
 #include "intel_batchbuffer.h"
 #include "brw_nir.h"
 #include "brw_program.h"
+#include "glsl/ir_uniform.h"
 
 void
 brw_cs_fill_local_id_payload(const struct brw_cs_prog_data *prog_data,
index 650bdeea344491f89ae37bfd52d4aa24cffaa658..09eb2392836eba8d09674eba3613af3832c1219d 100644 (file)
  */
 
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
-#include <getopt.h>
-#include <unistd.h>
 #include <stdarg.h>
 
 #include "brw_context.h"
index 81d4ef9ad63617bfb3ed6e656f5dad8b5322d15d..ef9434734df1ded50234bb8165dc5695d0d96be4 100644 (file)
 
 #include <stdbool.h>
 #include "brw_inst.h"
-#include "brw_structs.h"
 #include "brw_defines.h"
 #include "brw_reg.h"
 #include "intel_asm_annotation.h"
-#include "program/prog_instruction.h"
 
 #ifdef __cplusplus
 extern "C" {
index 91401dce98a9a19f9377f25d9d5dfa7b6244dc4b..29f19ccfb99518ab079dbaf53a044387bf3e5c7e 100644 (file)
  * from the LIR.
  */
 
-#include <sys/types.h>
-
-#include "util/hash_table.h"
 #include "main/macros.h"
-#include "main/shaderobj.h"
-#include "main/fbobject.h"
-#include "program/prog_parameter.h"
-#include "program/prog_print.h"
-#include "util/register_allocate.h"
-#include "program/hash_table.h"
 #include "brw_context.h"
 #include "brw_eu.h"
-#include "brw_wm.h"
 #include "brw_fs.h"
 #include "brw_cs.h"
 #include "brw_nir.h"
 #include "brw_cfg.h"
 #include "brw_program.h"
 #include "brw_dead_control_flow.h"
-#include "main/uniforms.h"
-#include "brw_fs_live_variables.h"
 #include "glsl/nir/glsl_types.h"
-#include "program/sampler.h"
 
 using namespace brw;
 
index 2d408b2f36335bdfab63b55b815e78cac91bb005..278d8a19f435f0d4168fcfd20b432b54e7c9ab15 100644 (file)
 #include "brw_shader.h"
 #include "brw_ir_fs.h"
 #include "brw_fs_builder.h"
-
-extern "C" {
-
-#include <sys/types.h>
-
-#include "main/macros.h"
-#include "main/shaderobj.h"
-#include "main/uniforms.h"
-#include "program/prog_parameter.h"
-#include "program/prog_print.h"
-#include "program/prog_optimize.h"
-#include "util/register_allocate.h"
-#include "program/hash_table.h"
-#include "brw_context.h"
-#include "brw_eu.h"
-#include "brw_wm.h"
-#include "intel_asm_annotation.h"
-}
-#include "glsl/nir/glsl_types.h"
 #include "glsl/ir.h"
 #include "glsl/nir/nir.h"
-#include "program/sampler.h"
 
 struct bblock_t;
 namespace {
index a13d001291c099b3845279d8681dc044dd2ba7e0..b3fb0c6fd6e085d0b764a4017a316757ff307de2 100644 (file)
@@ -41,8 +41,6 @@
  * we do retain the vector types in that case.
  */
 
-#include "main/core.h"
-#include "brw_wm.h"
 #include "glsl/ir.h"
 #include "glsl/ir_expression_flattening.h"
 #include "glsl/nir/glsl_types.h"
index 7c01f1e3d6233c2d9b177601d382e83330fc2260..b5badaef9774e375c76eb1cdf09ca50a20568d15 100644 (file)
@@ -22,8 +22,8 @@
  */
 
 #include "brw_fs.h"
-#include "brw_fs_live_variables.h"
 #include "brw_cfg.h"
+#include "brw_eu.h"
 
 /** @file brw_fs_cmod_propagation.cpp
  *
index c3ad7ad4771acc466a00b637a9c3c605eb3d05d3..c5280ac872660c18da18279eb801aa61401ef786 100644 (file)
@@ -35,7 +35,6 @@
  */
 
 #include "brw_fs.h"
-#include "brw_fs_live_variables.h"
 #include "brw_cfg.h"
 
 using namespace brw;
index fa29a09234ad68a0669df7dc5686745e58273687..fd25307c587a120c864973cb5ec2f950302e6963 100644 (file)
@@ -37,6 +37,7 @@
 #include "util/bitset.h"
 #include "brw_fs.h"
 #include "brw_cfg.h"
+#include "brw_eu.h"
 
 namespace { /* avoid conflict with opt_copy_propagation_elements */
 struct acp_entry : public exec_node {
index 48cb13d276759fe7706b4fc1698ef768a6e91ba9..c25da07c4bacee336ffba8a0972c06869a46a1ac 100644 (file)
@@ -27,8 +27,6 @@
  * native instructions.
  */
 
-#include "main/macros.h"
-#include "brw_context.h"
 #include "brw_eu.h"
 #include "brw_fs.h"
 #include "brw_cfg.h"
index 993367ec7e0ed1647121086af4f392c1cf50b7f6..15bd98f49b7acdad9004bc8bb7663814b41734c8 100644 (file)
  */
 
 #include "glsl/ir.h"
-#include "glsl/ir_optimization.h"
-#include "glsl/nir/glsl_to_nir.h"
 #include "main/shaderimage.h"
-#include "program/prog_to_nir.h"
 #include "brw_fs.h"
 #include "brw_fs_surface_builder.h"
-#include "brw_vec4_gs_visitor.h"
 #include "brw_nir.h"
 #include "brw_program.h"
 
index ef59c240139a549a1b1c7f1475ca4be6bd78500f..4c41e54ae56c522d720e813d7473575f9a0a9c37 100644 (file)
@@ -28,8 +28,7 @@
 #include "brw_eu.h"
 #include "brw_fs.h"
 #include "brw_cfg.h"
-#include "glsl/nir/glsl_types.h"
-#include "glsl/ir_optimization.h"
+#include "util/register_allocate.h"
 
 using namespace brw;
 
index cab5af318a26cfe4613ddddadd6626d12be265f3..b7bad29a8af890f9bbdd0ebc25ec85903f83e0a9 100644 (file)
  * behavior we want for the results of texture lookups, but probably not for
  */
 
-#include "main/core.h"
-#include "brw_context.h"
+#include "main/imports.h"
 #include "glsl/ir.h"
-#include "glsl/ir_visitor.h"
 #include "glsl/ir_rvalue_visitor.h"
 #include "glsl/nir/glsl_types.h"
 #include "util/hash_table.h"
index 1e202165cb6e26b69fe51396ba217fd52e81fae5..640e04725229c4f13b0ef3b6e83e1acc3361ef1d 100644 (file)
  * makes it easier to do backend-specific optimizations than doing so
  * in the GLSL IR or in the native code.
  */
-#include <sys/types.h>
-
-#include "main/macros.h"
-#include "main/shaderobj.h"
-#include "program/prog_parameter.h"
-#include "program/prog_print.h"
-#include "program/prog_optimize.h"
-#include "util/register_allocate.h"
-#include "program/hash_table.h"
-#include "brw_context.h"
-#include "brw_eu.h"
-#include "brw_wm.h"
-#include "brw_cs.h"
-#include "brw_vec4.h"
-#include "brw_vec4_gs_visitor.h"
 #include "brw_fs.h"
-#include "main/uniforms.h"
 #include "glsl/nir/glsl_types.h"
-#include "glsl/ir_optimization.h"
-#include "program/sampler.h"
 
 using namespace brw;
 
index 136be6837e4f93895b05b3833b17f57513c1cb59..02e6a8f984c335f9122082dbfd4d4d9a6e357468 100644 (file)
@@ -34,6 +34,7 @@
 #include "brw_ff_gs.h"
 #include "brw_nir.h"
 #include "brw_program.h"
+#include "glsl/ir_uniform.h"
 
 static void
 assign_gs_binding_table_offsets(const struct brw_device_info *devinfo,
index db0c22e3283710451efb8f06fd8d8c98a46f5b2a..31d29ec9045d333b65de9740d526544bea74acfa 100644 (file)
  * IN THE SOFTWARE.
  */
 
-#include "main/macros.h"
 #include "brw_context.h"
-#include "brw_vs.h"
-#include "brw_gs.h"
+#include "brw_shader.h"
 #include "brw_fs.h"
-#include "brw_cfg.h"
 #include "brw_nir.h"
 #include "brw_program.h"
 #include "glsl/ir_optimization.h"
 #include "glsl/glsl_parser_extras.h"
+#include "program/program.h"
 #include "main/shaderapi.h"
+#include "main/uniforms.h"
 
 /**
  * Performs a compile of the shader stages even when we don't know
index 5d9a2fedccee8e42f3b9bc20d789057f705c427a..f04c9f7b4828e152c34445523aae4f42043b06b6 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "brw_nir.h"
 #include "brw_shader.h"
-#include "glsl/glsl_parser_extras.h"
 #include "glsl/nir/glsl_to_nir.h"
 #include "program/prog_to_nir.h"
 
index 87b383919df77b63605f72285ff8f5c29d26ee95..21caca5b6e8c5b3cdce1ee5147ad8b29d1766e83 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "brw_shader.h"
 #include "brw_nir.h"
-#include "glsl/ir.h"
 #include "glsl/ir_uniform.h"
 
 static void
index 0c7692e8867580e7e7032ea9e0e7d942f1c2466a..e7f4f80bdc8666c18ee743d45e246831ffec3fe1 100644 (file)
@@ -31,8 +31,6 @@
 
 #include <pthread.h>
 #include "main/imports.h"
-#include "main/enums.h"
-#include "main/shaderobj.h"
 #include "program/prog_parameter.h"
 #include "program/prog_print.h"
 #include "program/program.h"
@@ -45,7 +43,6 @@
 #include "brw_context.h"
 #include "brw_shader.h"
 #include "brw_nir.h"
-#include "brw_wm.h"
 #include "intel_batchbuffer.h"
 
 static unsigned
index 776f75d3e58a408d6b4823931f8bfb5056b792ad..60f7fd9cfcd63d040cde3f7bee4b2eb153dc90f7 100644 (file)
@@ -30,8 +30,6 @@
 #include "brw_vec4.h"
 #include "brw_cfg.h"
 #include "brw_shader.h"
-#include "glsl/nir/glsl_types.h"
-#include "glsl/ir_optimization.h"
 
 using namespace brw;
 
index 2a25be5aa3bb205508a08bb0a8a80a35f69e21d8..5a6752b35817bcbf40c7de16d2fe2ea7abded021 100644 (file)
  * IN THE SOFTWARE.
  */
 
-#include "main/macros.h"
 #include "brw_context.h"
-#include "brw_vs.h"
-#include "brw_gs.h"
-#include "brw_fs.h"
 #include "brw_cfg.h"
+#include "brw_eu.h"
 #include "brw_nir.h"
-#include "glsl/ir_optimization.h"
 #include "glsl/glsl_parser_extras.h"
-#include "main/shaderapi.h"
+#include "main/shaderobj.h"
+#include "main/uniforms.h"
 #include "util/debug.h"
 
 static void
index 5c226ec774fe5428b31626c2d1b32dd9fc24edfb..8c5778f904815c3f48e32df8fae2ede6f6f28ac1 100644 (file)
  * IN THE SOFTWARE.
  */
 
+#pragma once
+
 #include <stdint.h>
 #include "brw_reg.h"
 #include "brw_defines.h"
 #include "brw_context.h"
-#include "main/compiler.h"
-#include "glsl/ir.h"
-#include "program/prog_parameter.h"
 
 #ifdef __cplusplus
 #include "brw_ir_allocator.h"
 #endif
 
-#pragma once
-
 #define MAX_SAMPLER_MESSAGE_SIZE 11
 #define MAX_VGRF_SIZE 16
 
index 55e7e649620d9e115019eee36a7975e502f09c5f..e04ba7ca75e7d1bb6f445f0a4f059df3ad008512 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  * IN THE SOFTWARE.
  */
-#include "main/context.h"
 #include "main/mtypes.h"
 
 #include "brw_context.h"
 #include "brw_state.h"
 #include "brw_defines.h"
-#include "brw_wm.h"
 
 struct surface_format_info {
    bool exists;
index f801dc06628995906e2dfc7ee956f2c830cc876e..bf7f9c61c84959fc43ce7860a48b019690e3d0bd 100644 (file)
   */
 
 
-#include <assert.h>
-
-#include "main/mtypes.h"
-#include "program/prog_parameter.h"
 #include "brw_util.h"
 #include "brw_defines.h"
 
index 68f4318d37174566f5f7ad5fcb8bbc9bfe1ab4c0..1f27e9862a7cb89734285391d6d0b81838ab8489 100644 (file)
@@ -33,8 +33,6 @@
 #ifndef BRW_UTIL_H
 #define BRW_UTIL_H
 
-#include "main/mtypes.h"
-#include "main/imports.h"
 #include "brw_context.h"
 
 extern GLuint brw_translate_blend_factor( GLenum factor );
index 02dc1e52b90ffa75a770e51457d77ac4b2465007..9a79d67e12f2d55653e64c158d58ee5347f3b15e 100644 (file)
 #include "brw_nir.h"
 #include "brw_vec4_live_variables.h"
 #include "brw_dead_control_flow.h"
-
-extern "C" {
-#include "main/macros.h"
-#include "main/shaderobj.h"
-#include "program/prog_print.h"
 #include "program/prog_parameter.h"
-}
-#include "main/context.h"
 
 #define MAX_INSTRUCTION (1 << 30)
 
index 0754bc7f17b9d3a69b5a5c1a6e608d049609da3b..25b1139834c7fbe807732c0d221177bca3a28b91 100644 (file)
 #ifndef BRW_VEC4_H
 #define BRW_VEC4_H
 
-#include <stdint.h>
 #include "brw_shader.h"
-#include "main/compiler.h"
-#include "program/hash_table.h"
+#include "brw_program.h"
 
 #ifdef __cplusplus
 #include "brw_ir_vec4.h"
-
-extern "C" {
-#endif
-
-#include "brw_context.h"
-#include "brw_eu.h"
-#include "intel_asm_annotation.h"
-
-#ifdef __cplusplus
-}; /* extern "C" */
 #endif
 
 #include "glsl/ir.h"
index 7aa8f5d9b8fb060f883744b224aa4e97a4250f48..0c8224f5f8336138103f6bb5e99066e5caf24a04 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "brw_vec4.h"
 #include "brw_cfg.h"
+#include "brw_eu.h"
 
 namespace brw {
 
index ce5f7ab19b57deafbf9268c3f157b1fcf5893d30..c6f0b0d8a2a36add1e3f62d986da97cbb092c134 100644 (file)
@@ -31,9 +31,7 @@
 
 #include "brw_vec4.h"
 #include "brw_cfg.h"
-extern "C" {
-#include "main/macros.h"
-}
+#include "brw_eu.h"
 
 namespace brw {
 
index eeb7a8abe364929197fd059a589782ef4d835559..acf928676891cfd92b6fd0bc7ff3c698f52847f2 100644 (file)
@@ -23,6 +23,7 @@
 #include "glsl/glsl_parser_extras.h"
 #include "brw_vec4.h"
 #include "brw_cfg.h"
+#include "brw_eu.h"
 #include "brw_program.h"
 
 using namespace brw;
index 6bc39473137cc14cd83930b6e23a964bd55aab36..e51ef4b37d5be470b7297a8da462276aa9955f8b 100644 (file)
@@ -21,7 +21,6 @@
  * IN THE SOFTWARE.
  */
 
-#include "brw_nir.h"
 #include "brw_vec4_gs_visitor.h"
 
 namespace brw {
index 05de97244237bb98fc7dd48f8571b61b3eabc82c..4aed60e78b4c6edbdbe7058b597526f875ea53ff 100644 (file)
@@ -26,7 +26,6 @@
 #include "brw_vec4_builder.h"
 #include "brw_vec4_surface_builder.h"
 #include "brw_program.h"
-#include "glsl/ir_uniform.h"
 
 using namespace brw;
 using namespace brw::surface_access;
index 6d27a4694d33ce280f7df6e73a94a4710ac1896a..01c9c96276e923b1ab0d8435c477acfb5f4b621b 100644 (file)
  * IN THE SOFTWARE.
  */
 
-#include "main/macros.h"
 #include "util/register_allocate.h"
 #include "brw_vec4.h"
-#include "brw_vs.h"
 #include "brw_cfg.h"
 
 using namespace brw;
index cb92b4f1060d1499b59b15b87dee48ddfe184f0c..b1e53986f30cc215b981ddf705c0b3edf8af926b 100644 (file)
@@ -23,9 +23,8 @@
 
 #include "brw_vec4.h"
 #include "brw_cfg.h"
+#include "brw_eu.h"
 #include "brw_program.h"
-#include "glsl/ir_uniform.h"
-#include "program/sampler.h"
 
 namespace brw {
 
index bcb5e7b0b2adc1138ec1294a063f3d16f27963fe..31ab1ce5766ccdd5edac399387a83f200bddc564 100644 (file)
 #define BRW_VS_H
 
 
-#include "brw_context.h"
-#include "brw_eu.h"
 #include "brw_vec4.h"
-#include "program/program.h"
 
 /**
  * The VF can't natively handle certain types of attributes, such as GL_FIXED
index edb16087410b9f78032a0282891a93799cfa2c06..6cb3da46995fd9dad37658f0ce19b6329eff8dfe 100644 (file)
@@ -40,7 +40,6 @@
  */
 
 
-#include "main/compiler.h"
 #include "brw_context.h"
 
 static inline void
index 579ac671636ffb84ffea50517cf1557ef32b3a50..7130a61c4f5ad04bec43b09032f5399dc35f4474 100644 (file)
@@ -35,7 +35,6 @@
 
 #include <stdbool.h>
 
-#include "program/prog_instruction.h"
 #include "brw_context.h"
 #include "brw_eu.h"
 
index 6f22f29447638495d8cfa97cd86238348c7d91a7..83e1855025d4371cb9bd676ca1b0358476a97fd1 100644 (file)
@@ -30,8 +30,8 @@
   */
 
 
-#include "main/mtypes.h"
 #include "brw_fs.h"
+#include "brw_wm.h"
 
 
 #undef P                        /* prompted depth */
index f88f8d591966151cde5f5833dfefd883ca72dcf5..5b0f0b98bccab09800eadc172d3fead8c1cd0376 100644 (file)
@@ -36,6 +36,7 @@
 #include "main/samplerobj.h"
 #include "main/shaderimage.h"
 #include "program/prog_parameter.h"
+#include "program/prog_instruction.h"
 #include "main/framebuffer.h"
 
 #include "intel_mipmap_tree.h"
index 23fea5a54e3e78162cba462c671f9661f6696d9f..079e1ba25f023a86ee4a622c62bf7635bcc71f06 100644 (file)
 #include <assert.h>
 
 #include "intel_batchbuffer.h"
-#include "intel_fbo.h"
 #include "intel_mipmap_tree.h"
 
 #include "brw_context.h"
-#include "brw_defines.h"
 #include "brw_state.h"
 
 #include "brw_blorp.h"
index 3840ce0fe57964de6ac0bcae8f5a955cbb214459..9935557ae7053a40d3682d41649f1015a429fe46 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #include "gen6_gs_visitor.h"
+#include "brw_eu.h"
 
 namespace brw {
 
index 4c6ab0c68bf6ca6160ec7fe793a97370fc5529cd..e87b9d1657fe03bb49628b4e28fb4029a97c5512 100644 (file)
 #include <assert.h>
 
 #include "intel_batchbuffer.h"
-#include "intel_fbo.h"
 #include "intel_mipmap_tree.h"
 
 #include "brw_context.h"
-#include "brw_defines.h"
 #include "brw_state.h"
 
 #include "brw_blorp.h"
index 2d7c04f4ad27f405c461df551dd9eea0ab4722e2..38b0258f5de0af871d6d318123507382591b0810 100644 (file)
@@ -30,6 +30,8 @@
 #include "intel_mipmap_tree.h"
 #include "intel_batchbuffer.h"
 #include "brw_state.h"
+#include "program/prog_statevars.h"
+#include "glsl/ir_uniform.h"
 
 static unsigned
 get_cs_thread_count(const struct brw_cs_prog_data *cs_prog_data)
index 438caefdd4afd9a2d2313ab018c0c0cfab50584e..2aa395b2a92c7d701b86919ed773de9ec07da853 100644 (file)
@@ -26,6 +26,7 @@
 #include "main/texformat.h"
 #include "main/teximage.h"
 #include "program/prog_parameter.h"
+#include "program/prog_instruction.h"
 
 #include "intel_mipmap_tree.h"
 #include "intel_batchbuffer.h"
index 9cdd1c71b4d58f114b5e36b576a6d3d303e11a77..80252a50433ff8cb731efc3f43805cb0e799c2c5 100644 (file)
@@ -27,6 +27,7 @@
 #include "main/texformat.h"
 #include "main/teximage.h"
 #include "program/prog_parameter.h"
+#include "program/prog_instruction.h"
 
 #include "intel_mipmap_tree.h"
 #include "intel_batchbuffer.h"
index 7d8b966185cfcb4c0ca9ffaa3f8883c8b40aa475..d073d665ffb0c82d2ea74ed18bd7f20d72af0aaf 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "brw_context.h"
 #include "intel_debug.h"
-#include "utils.h"
 #include "util/u_atomic.h" /* for p_atomic_cmpxchg */
 #include "util/debug.h"
 
index 2e2459c125bbfbd8c0114be138e6debc427a7681..bec318ffa3dac59fd81c07d016ded53c1fb2958e 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "brw_context.h"
 #include "intel_batchbuffer.h"
-#include "intel_reg.h"
-#include "utils.h"
 
 /**
  * Test if we can use MI_LOAD_REGISTER_MEM from an untrusted batchbuffer.
index bf6bcf257a9c834fc044779dc454b112c4c74403..3df4b882b05427d4eb1544dbed79cfe06cad4fb2 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "intel_resolve_map.h"
 
-#include <assert.h>
 #include <stdlib.h>
 
 /**
index ede409b6919ac664783b4c04d80ba3c7f0963f1c..12667ffd23c92e947b221b65efa27aedbdec8d0a 100644 (file)
@@ -24,6 +24,7 @@
 #include <gtest/gtest.h>
 #include "brw_vec4.h"
 #include "brw_vs.h"
+#include "program/program.h"
 
 using namespace brw;
 
index 90a6bc3618ffd0aacfd3bf1e234fa423444602ed..34dcf95dc48019e96a6c335af66a9942ec3ee866 100644 (file)
@@ -24,6 +24,7 @@
 #include <gtest/gtest.h>
 #include "brw_vec4.h"
 #include "brw_vs.h"
+#include "program/program.h"
 
 using namespace brw;