1 /**************************************************************************
3 * Copyright 2009 VMware, Inc.
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sub license, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
17 * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,
18 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
19 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
20 * USE OR OTHER DEALINGS IN THE SOFTWARE.
22 * The above copyright notice and this permission notice (including the
23 * next paragraph) shall be included in all copies or substantial portions
26 **************************************************************************/
30 * Dump i965 data structures.
32 * Generated automatically from brw_structs.h by brw_structs_dump.py.
35 #ifndef BRW_STRUCTS_DUMP_H
36 #define BRW_STRUCTS_DUMP_H
38 struct brw_3d_control
;
39 struct brw_3d_primitive
;
40 struct brw_aa_line_parameters
;
41 struct brw_binding_table_pointers
;
42 struct brw_blend_constant_color
;
51 struct brw_cc_unit_state
;
52 struct brw_cc_viewport
;
53 struct brw_clip_unit_state
;
54 struct brw_clipper_viewport
;
55 struct brw_constant_buffer
;
56 struct brw_cs_urb_state
;
57 struct brw_depthbuffer
;
58 struct brw_depthbuffer_g4x
;
60 struct brw_global_depth_offset_clamp
;
61 struct brw_gs_unit_state
;
62 struct brw_indexbuffer
;
63 struct brw_line_stipple
;
65 struct brw_pipe_control
;
66 struct brw_pipeline_select
;
67 struct brw_pipelined_state_pointers
;
68 struct brw_polygon_stipple
;
69 struct brw_polygon_stipple_offset
;
70 struct brw_sampler_default_color
;
71 struct brw_sampler_state
;
72 struct brw_sf_unit_state
;
73 struct brw_sf_viewport
;
78 struct brw_state_base_address
;
79 struct brw_state_prefetch
;
86 struct brw_surface_state
;
87 struct brw_system_instruction_pointer
;
89 struct brw_urb_immediate
;
90 struct brw_vb_array_state
;
91 struct brw_vertex_buffer_state
;
92 struct brw_vertex_element_packet
;
93 struct brw_vertex_element_state
;
94 struct brw_vf_statistics
;
95 struct brw_vs_unit_state
;
96 struct brw_wm_unit_state
;
99 brw_dump_3d_control(const struct brw_3d_control
*ptr
);
102 brw_dump_3d_primitive(const struct brw_3d_primitive
*ptr
);
105 brw_dump_aa_line_parameters(const struct brw_aa_line_parameters
*ptr
);
108 brw_dump_binding_table_pointers(const struct brw_binding_table_pointers
*ptr
);
111 brw_dump_blend_constant_color(const struct brw_blend_constant_color
*ptr
);
114 brw_dump_cc0(const struct brw_cc0
*ptr
);
117 brw_dump_cc1(const struct brw_cc1
*ptr
);
120 brw_dump_cc2(const struct brw_cc2
*ptr
);
123 brw_dump_cc3(const struct brw_cc3
*ptr
);
126 brw_dump_cc4(const struct brw_cc4
*ptr
);
129 brw_dump_cc5(const struct brw_cc5
*ptr
);
132 brw_dump_cc6(const struct brw_cc6
*ptr
);
135 brw_dump_cc7(const struct brw_cc7
*ptr
);
138 brw_dump_cc_unit_state(const struct brw_cc_unit_state
*ptr
);
141 brw_dump_cc_viewport(const struct brw_cc_viewport
*ptr
);
144 brw_dump_clip_unit_state(const struct brw_clip_unit_state
*ptr
);
147 brw_dump_clipper_viewport(const struct brw_clipper_viewport
*ptr
);
150 brw_dump_constant_buffer(const struct brw_constant_buffer
*ptr
);
153 brw_dump_cs_urb_state(const struct brw_cs_urb_state
*ptr
);
156 brw_dump_depthbuffer(const struct brw_depthbuffer
*ptr
);
159 brw_dump_depthbuffer_g4x(const struct brw_depthbuffer_g4x
*ptr
);
162 brw_dump_drawrect(const struct brw_drawrect
*ptr
);
165 brw_dump_global_depth_offset_clamp(const struct brw_global_depth_offset_clamp
*ptr
);
168 brw_dump_gs_unit_state(const struct brw_gs_unit_state
*ptr
);
171 brw_dump_indexbuffer(const struct brw_indexbuffer
*ptr
);
174 brw_dump_line_stipple(const struct brw_line_stipple
*ptr
);
177 brw_dump_mi_flush(const struct brw_mi_flush
*ptr
);
180 brw_dump_pipe_control(const struct brw_pipe_control
*ptr
);
183 brw_dump_pipeline_select(const struct brw_pipeline_select
*ptr
);
186 brw_dump_pipelined_state_pointers(const struct brw_pipelined_state_pointers
*ptr
);
189 brw_dump_polygon_stipple(const struct brw_polygon_stipple
*ptr
);
192 brw_dump_polygon_stipple_offset(const struct brw_polygon_stipple_offset
*ptr
);
195 brw_dump_sampler_default_color(const struct brw_sampler_default_color
*ptr
);
198 brw_dump_sampler_state(const struct brw_sampler_state
*ptr
);
201 brw_dump_sf_unit_state(const struct brw_sf_unit_state
*ptr
);
204 brw_dump_sf_viewport(const struct brw_sf_viewport
*ptr
);
207 brw_dump_ss0(const struct brw_ss0
*ptr
);
210 brw_dump_ss1(const struct brw_ss1
*ptr
);
213 brw_dump_ss2(const struct brw_ss2
*ptr
);
216 brw_dump_ss3(const struct brw_ss3
*ptr
);
219 brw_dump_state_base_address(const struct brw_state_base_address
*ptr
);
222 brw_dump_state_prefetch(const struct brw_state_prefetch
*ptr
);
225 brw_dump_surf_ss0(const struct brw_surf_ss0
*ptr
);
228 brw_dump_surf_ss1(const struct brw_surf_ss1
*ptr
);
231 brw_dump_surf_ss2(const struct brw_surf_ss2
*ptr
);
234 brw_dump_surf_ss3(const struct brw_surf_ss3
*ptr
);
237 brw_dump_surf_ss4(const struct brw_surf_ss4
*ptr
);
240 brw_dump_surf_ss5(const struct brw_surf_ss5
*ptr
);
243 brw_dump_surface_state(const struct brw_surface_state
*ptr
);
246 brw_dump_system_instruction_pointer(const struct brw_system_instruction_pointer
*ptr
);
249 brw_dump_urb_fence(const struct brw_urb_fence
*ptr
);
252 brw_dump_urb_immediate(const struct brw_urb_immediate
*ptr
);
255 brw_dump_vb_array_state(const struct brw_vb_array_state
*ptr
);
258 brw_dump_vertex_buffer_state(const struct brw_vertex_buffer_state
*ptr
);
261 brw_dump_vertex_element_packet(const struct brw_vertex_element_packet
*ptr
);
264 brw_dump_vertex_element_state(const struct brw_vertex_element_state
*ptr
);
267 brw_dump_vf_statistics(const struct brw_vf_statistics
*ptr
);
270 brw_dump_vs_unit_state(const struct brw_vs_unit_state
*ptr
);
273 brw_dump_wm_unit_state(const struct brw_wm_unit_state
*ptr
);
276 #endif /* BRW_STRUCTS_DUMP_H */