st/dri: Don't check for null when user ensures non-null
[mesa.git] / src / gallium / drivers / i965 / brw_structs_dump.h
1 /**************************************************************************
2 *
3 * Copyright 2009 VMware, Inc.
4 * All Rights Reserved.
5 *
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:
13 *
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.
21 *
22 * The above copyright notice and this permission notice (including the
23 * next paragraph) shall be included in all copies or substantial portions
24 * of the Software.
25 *
26 **************************************************************************/
27
28 /**
29 * @file
30 * Dump i965 data structures.
31 *
32 * Generated automatically from brw_structs.h by brw_structs_dump.py.
33 */
34
35 #ifndef BRW_STRUCTS_DUMP_H
36 #define BRW_STRUCTS_DUMP_H
37
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;
43 struct brw_cc0;
44 struct brw_cc1;
45 struct brw_cc2;
46 struct brw_cc3;
47 struct brw_cc4;
48 struct brw_cc5;
49 struct brw_cc6;
50 struct brw_cc7;
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;
59 struct brw_drawrect;
60 struct brw_global_depth_offset_clamp;
61 struct brw_gs_unit_state;
62 struct brw_indexbuffer;
63 struct brw_line_stipple;
64 struct brw_mi_flush;
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;
74 struct brw_ss0;
75 struct brw_ss1;
76 struct brw_ss2;
77 struct brw_ss3;
78 struct brw_state_base_address;
79 struct brw_state_prefetch;
80 struct brw_surf_ss0;
81 struct brw_surf_ss1;
82 struct brw_surf_ss2;
83 struct brw_surf_ss3;
84 struct brw_surf_ss4;
85 struct brw_surf_ss5;
86 struct brw_surface_state;
87 struct brw_system_instruction_pointer;
88 struct brw_urb_fence;
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;
97
98 void
99 brw_dump_3d_control(const struct brw_3d_control *ptr);
100
101 void
102 brw_dump_3d_primitive(const struct brw_3d_primitive *ptr);
103
104 void
105 brw_dump_aa_line_parameters(const struct brw_aa_line_parameters *ptr);
106
107 void
108 brw_dump_binding_table_pointers(const struct brw_binding_table_pointers *ptr);
109
110 void
111 brw_dump_blend_constant_color(const struct brw_blend_constant_color *ptr);
112
113 void
114 brw_dump_cc0(const struct brw_cc0 *ptr);
115
116 void
117 brw_dump_cc1(const struct brw_cc1 *ptr);
118
119 void
120 brw_dump_cc2(const struct brw_cc2 *ptr);
121
122 void
123 brw_dump_cc3(const struct brw_cc3 *ptr);
124
125 void
126 brw_dump_cc4(const struct brw_cc4 *ptr);
127
128 void
129 brw_dump_cc5(const struct brw_cc5 *ptr);
130
131 void
132 brw_dump_cc6(const struct brw_cc6 *ptr);
133
134 void
135 brw_dump_cc7(const struct brw_cc7 *ptr);
136
137 void
138 brw_dump_cc_unit_state(const struct brw_cc_unit_state *ptr);
139
140 void
141 brw_dump_cc_viewport(const struct brw_cc_viewport *ptr);
142
143 void
144 brw_dump_clip_unit_state(const struct brw_clip_unit_state *ptr);
145
146 void
147 brw_dump_clipper_viewport(const struct brw_clipper_viewport *ptr);
148
149 void
150 brw_dump_constant_buffer(const struct brw_constant_buffer *ptr);
151
152 void
153 brw_dump_cs_urb_state(const struct brw_cs_urb_state *ptr);
154
155 void
156 brw_dump_depthbuffer(const struct brw_depthbuffer *ptr);
157
158 void
159 brw_dump_depthbuffer_g4x(const struct brw_depthbuffer_g4x *ptr);
160
161 void
162 brw_dump_drawrect(const struct brw_drawrect *ptr);
163
164 void
165 brw_dump_global_depth_offset_clamp(const struct brw_global_depth_offset_clamp *ptr);
166
167 void
168 brw_dump_gs_unit_state(const struct brw_gs_unit_state *ptr);
169
170 void
171 brw_dump_indexbuffer(const struct brw_indexbuffer *ptr);
172
173 void
174 brw_dump_line_stipple(const struct brw_line_stipple *ptr);
175
176 void
177 brw_dump_mi_flush(const struct brw_mi_flush *ptr);
178
179 void
180 brw_dump_pipe_control(const struct brw_pipe_control *ptr);
181
182 void
183 brw_dump_pipeline_select(const struct brw_pipeline_select *ptr);
184
185 void
186 brw_dump_pipelined_state_pointers(const struct brw_pipelined_state_pointers *ptr);
187
188 void
189 brw_dump_polygon_stipple(const struct brw_polygon_stipple *ptr);
190
191 void
192 brw_dump_polygon_stipple_offset(const struct brw_polygon_stipple_offset *ptr);
193
194 void
195 brw_dump_sampler_default_color(const struct brw_sampler_default_color *ptr);
196
197 void
198 brw_dump_sampler_state(const struct brw_sampler_state *ptr);
199
200 void
201 brw_dump_sf_unit_state(const struct brw_sf_unit_state *ptr);
202
203 void
204 brw_dump_sf_viewport(const struct brw_sf_viewport *ptr);
205
206 void
207 brw_dump_ss0(const struct brw_ss0 *ptr);
208
209 void
210 brw_dump_ss1(const struct brw_ss1 *ptr);
211
212 void
213 brw_dump_ss2(const struct brw_ss2 *ptr);
214
215 void
216 brw_dump_ss3(const struct brw_ss3 *ptr);
217
218 void
219 brw_dump_state_base_address(const struct brw_state_base_address *ptr);
220
221 void
222 brw_dump_state_prefetch(const struct brw_state_prefetch *ptr);
223
224 void
225 brw_dump_surf_ss0(const struct brw_surf_ss0 *ptr);
226
227 void
228 brw_dump_surf_ss1(const struct brw_surf_ss1 *ptr);
229
230 void
231 brw_dump_surf_ss2(const struct brw_surf_ss2 *ptr);
232
233 void
234 brw_dump_surf_ss3(const struct brw_surf_ss3 *ptr);
235
236 void
237 brw_dump_surf_ss4(const struct brw_surf_ss4 *ptr);
238
239 void
240 brw_dump_surf_ss5(const struct brw_surf_ss5 *ptr);
241
242 void
243 brw_dump_surface_state(const struct brw_surface_state *ptr);
244
245 void
246 brw_dump_system_instruction_pointer(const struct brw_system_instruction_pointer *ptr);
247
248 void
249 brw_dump_urb_fence(const struct brw_urb_fence *ptr);
250
251 void
252 brw_dump_urb_immediate(const struct brw_urb_immediate *ptr);
253
254 void
255 brw_dump_vb_array_state(const struct brw_vb_array_state *ptr);
256
257 void
258 brw_dump_vertex_buffer_state(const struct brw_vertex_buffer_state *ptr);
259
260 void
261 brw_dump_vertex_element_packet(const struct brw_vertex_element_packet *ptr);
262
263 void
264 brw_dump_vertex_element_state(const struct brw_vertex_element_state *ptr);
265
266 void
267 brw_dump_vf_statistics(const struct brw_vf_statistics *ptr);
268
269 void
270 brw_dump_vs_unit_state(const struct brw_vs_unit_state *ptr);
271
272 void
273 brw_dump_wm_unit_state(const struct brw_wm_unit_state *ptr);
274
275
276 #endif /* BRW_STRUCTS_DUMP_H */