mesa: include mtypes.h less
authorMarek Olšák <marek.olsak@amd.com>
Sun, 8 Apr 2018 17:13:08 +0000 (13:13 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Apr 2018 23:31:30 +0000 (19:31 -0400)
commit43d66c8c2d4d3d4dee1309856b6ce6c5393682e5
tree1d2ffdca4a8cf765e8db3c71e491df6611c45556
parent57f4268da49ce6969e597fe3441d6a9cd8bac562
mesa: include mtypes.h less

- remove mtypes.h from most header files
- add main/menums.h for often used definitions
- remove main/core.h

v2: fix radv build

Reviewed-by: Brian Paul <brianp@vmware.com>
177 files changed:
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_radeon_winsys.h
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
src/compiler/glsl/ast_function.cpp
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/builtin_functions.cpp
src/compiler/glsl/builtin_functions.h
src/compiler/glsl/builtin_variables.cpp
src/compiler/glsl/glcpp/glcpp-parse.y
src/compiler/glsl/glcpp/glcpp.c
src/compiler/glsl/glcpp/glcpp.h
src/compiler/glsl/glcpp/pp.c
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/glsl/ir.cpp
src/compiler/glsl/ir.h
src/compiler/glsl/ir_constant_expression.cpp
src/compiler/glsl/ir_function_detect_recursion.cpp
src/compiler/glsl/ir_optimization.h
src/compiler/glsl/ir_set_program_inouts.cpp
src/compiler/glsl/ir_uniform.h
src/compiler/glsl/link_atomics.cpp
src/compiler/glsl/link_functions.cpp
src/compiler/glsl/link_interface_blocks.cpp
src/compiler/glsl/link_uniform_blocks.cpp
src/compiler/glsl/link_uniform_initializers.cpp
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/linker.cpp
src/compiler/glsl/linker.h
src/compiler/glsl/lower_blend_equation_advanced.cpp
src/compiler/glsl/lower_cs_derived.cpp
src/compiler/glsl/lower_distance.cpp
src/compiler/glsl/lower_named_interface_blocks.cpp
src/compiler/glsl/lower_packed_varyings.cpp
src/compiler/glsl/lower_shared_reference.cpp
src/compiler/glsl/lower_tess_level.cpp
src/compiler/glsl/lower_ubo_reference.cpp
src/compiler/glsl/lower_vector_derefs.cpp
src/compiler/glsl/lower_vertex_id.cpp
src/compiler/glsl/main.cpp
src/compiler/glsl/opt_algebraic.cpp
src/compiler/glsl/opt_dead_builtin_varyings.cpp
src/compiler/glsl/s_expression.cpp
src/compiler/glsl/s_expression.h
src/compiler/glsl/shader_cache.cpp
src/compiler/glsl/shader_cache.h
src/compiler/glsl/standalone.cpp
src/compiler/glsl/standalone_scaffolding.cpp
src/compiler/glsl/standalone_scaffolding.h
src/compiler/glsl_types.h
src/compiler/nir/nir_constant_expressions.py
src/compiler/nir/nir_gather_info.c
src/compiler/nir/nir_lower_atomics.c
src/compiler/nir/nir_lower_samplers.c
src/compiler/nir/nir_lower_samplers_as_deref.c
src/gallium/state_trackers/glx/xlib/glx_usefont.c
src/gallium/state_trackers/glx/xlib/xm_api.h
src/intel/common/gen_urb_config.c
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_eu.h
src/mesa/Makefile.sources
src/mesa/drivers/dri/common/dri_util.h
src/mesa/drivers/dri/i915/intel_context.h
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/r200/r200_state_init.c
src/mesa/drivers/dri/r200/r200_vertprog.c
src/mesa/drivers/dri/radeon/radeon_state.c
src/mesa/drivers/dri/radeon/radeon_state_init.c
src/mesa/main/api_arrayelt.h
src/mesa/main/buffers.h
src/mesa/main/colormac.h
src/mesa/main/context.h
src/mesa/main/copyimage.h
src/mesa/main/core.h [deleted file]
src/mesa/main/dd.h
src/mesa/main/debug.c
src/mesa/main/debug_output.h
src/mesa/main/dlist.h
src/mesa/main/drawtex.c
src/mesa/main/errors.h
src/mesa/main/eval.h
src/mesa/main/execmem.c
src/mesa/main/extensions.h
src/mesa/main/extensions_table.c
src/mesa/main/ffvertex_prog.c
src/mesa/main/format_pack.py
src/mesa/main/format_unpack.py
src/mesa/main/format_utils.c
src/mesa/main/format_utils.h
src/mesa/main/formats.c
src/mesa/main/glformats.h
src/mesa/main/glheader.h
src/mesa/main/glspirv.c
src/mesa/main/glspirv.h
src/mesa/main/glthread.h
src/mesa/main/hash.c
src/mesa/main/hash.h
src/mesa/main/imports.c
src/mesa/main/imports.h
src/mesa/main/menums.h [new file with mode: 0644]
src/mesa/main/mipmap.c
src/mesa/main/mipmap.h
src/mesa/main/mtypes.h
src/mesa/main/pack.c
src/mesa/main/pack.h
src/mesa/main/pbo.c
src/mesa/main/pbo.h
src/mesa/main/pixeltransfer.h
src/mesa/main/querymatrix.c
src/mesa/main/querymatrix.h
src/mesa/main/remap.c
src/mesa/main/renderbuffer.h
src/mesa/main/shader_query.cpp
src/mesa/main/shaderapi.h
src/mesa/main/shaderobj.h
src/mesa/main/texcompress_bptc.c
src/mesa/main/texcompress_etc.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texcompress_rgtc.c
src/mesa/main/texobj.h
src/mesa/main/texstore.c
src/mesa/main/texstore.h
src/mesa/main/texturebindless.h
src/mesa/main/uniform_query.cpp
src/mesa/main/varray.h
src/mesa/main/version.h
src/mesa/main/vtxfmt.h
src/mesa/math/m_matrix.c
src/mesa/meson.build
src/mesa/program/ir_to_mesa.h
src/mesa/program/prog_execute.c
src/mesa/program/prog_execute.h
src/mesa/program/prog_instruction.c
src/mesa/program/prog_parameter.h
src/mesa/program/prog_print.h
src/mesa/program/prog_to_nir.c
src/mesa/program/program.h
src/mesa/program/program_parse.y
src/mesa/program/programopt.h
src/mesa/program/symbol_table.c
src/mesa/state_tracker/st_atom_depth.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_glsl_to_tgsi_private.h
src/mesa/state_tracker/st_manager.h
src/mesa/state_tracker/st_program.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_fog.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_stencil.c
src/mesa/swrast/s_texfetch.c
src/mesa/swrast/s_zoom.c
src/mesa/tnl/t_rebase.c
src/mesa/tnl/t_vb_fog.c
src/mesa/tnl/t_vb_texgen.c
src/mesa/tnl/tnl.h
src/mesa/vbo/vbo_attrib.h
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec.c
src/mesa/vbo/vbo_exec.h
src/mesa/vbo/vbo_noop.h
src/mesa/vbo/vbo_primitive_restart.c
src/mesa/vbo/vbo_private.h
src/mesa/vbo/vbo_save.c
src/mesa/vbo/vbo_save.h
src/mesa/vbo/vbo_save_draw.c
src/mesa/vbo/vbo_save_loopback.c
src/util/register_allocate.c
src/util/xmlconfig.h