blob: 04551e0f4af9e45f31076b02ca2bb3fadb10b1ab [file] [log] [blame]
Chia-I Wu09142132014-08-11 15:42:55 +08001/*
2 * XGL
3 *
4 * Copyright (C) 2014 LunarG, Inc.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included
14 * in all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
Chia-I Wu44e42362014-09-02 08:32:09 +080023 *
24 * Authors:
25 * Chia-I Wu <olv@lunarg.com>
26 * Courtney Goeltzenleuchter <courtney@lunarg.com>
Chia-I Wu09142132014-08-11 15:42:55 +080027 */
28
29#ifndef CMD_H
30#define CMD_H
31
32#include "intel.h"
33#include "obj.h"
Chia-I Wub2755562014-08-20 13:38:52 +080034#include "view.h"
35
36struct intel_pipeline;
Chia-I Wuf2b6d722014-09-02 08:52:27 +080037struct intel_pipeline_shader;
Chia-I Wub2755562014-08-20 13:38:52 +080038struct intel_pipeline_delta;
39struct intel_viewport_state;
40struct intel_raster_state;
41struct intel_msaa_state;
42struct intel_blend_state;
43struct intel_ds_state;
44struct intel_dset;
45
Chia-I Wu00b51a82014-09-09 12:07:37 +080046struct intel_cmd_item;
Chia-I Wu958d1b72014-08-21 11:28:11 +080047struct intel_cmd_reloc;
48
Chia-I Wu8370b402014-08-29 12:28:37 +080049/*
50 * We know what workarounds are needed for intel_pipeline. These are mostly
51 * for intel_pipeline_delta.
52 */
53enum intel_cmd_wa_flags {
54 /*
55 * From the Sandy Bridge PRM, volume 2 part 1, page 60:
56 *
57 * "Before any depth stall flush (including those produced by
58 * non-pipelined state commands), software needs to first send a
59 * PIPE_CONTROL with no bits set except Post-Sync Operation != 0."
60 */
61 INTEL_CMD_WA_GEN6_PRE_DEPTH_STALL_WRITE = 1 << 0,
62
63 /*
64 * From the Sandy Bridge PRM, volume 2 part 1, page 274:
65 *
66 * "A PIPE_CONTROL command, with only the Stall At Pixel Scoreboard
67 * field set (DW1 Bit 1), must be issued prior to any change to the
68 * value in this field (Maximum Number of Threads in 3DSTATE_WM)"
69 *
70 * From the Ivy Bridge PRM, volume 2 part 1, page 286:
71 *
72 * "If this field (Maximum Number of Threads in 3DSTATE_PS) is changed
73 * between 3DPRIMITIVE commands, a PIPE_CONTROL command with Stall at
74 * Pixel Scoreboard set is required to be issued."
75 */
76 INTEL_CMD_WA_GEN6_PRE_COMMAND_SCOREBOARD_STALL = 1 << 1,
77
78 /*
79 * From the Ivy Bridge PRM, volume 2 part 1, page 106:
80 *
81 * "A PIPE_CONTROL with Post-Sync Operation set to 1h and a depth
82 * stall needs to be sent just prior to any 3DSTATE_VS,
83 * 3DSTATE_URB_VS, 3DSTATE_CONSTANT_VS,
84 * 3DSTATE_BINDING_TABLE_POINTER_VS, 3DSTATE_SAMPLER_STATE_POINTER_VS
85 * command. Only one PIPE_CONTROL needs to be sent before any
86 * combination of VS associated 3DSTATE."
87 */
88 INTEL_CMD_WA_GEN7_PRE_VS_DEPTH_STALL_WRITE = 1 << 2,
89
90 /*
91 * From the Ivy Bridge PRM, volume 2 part 1, page 258:
92 *
93 * "Due to an HW issue driver needs to send a pipe control with stall
94 * when ever there is state change in depth bias related state"
95 *
96 * From the Ivy Bridge PRM, volume 2 part 1, page 292:
97 *
98 * "A PIPE_CONTOL command with the CS Stall bit set must be programmed
99 * in the ring after this instruction
100 * (3DSTATE_PUSH_CONSTANT_ALLOC_PS)."
101 */
102 INTEL_CMD_WA_GEN7_POST_COMMAND_CS_STALL = 1 << 3,
103
104 /*
105 * From the Ivy Bridge PRM, volume 2 part 1, page 276:
106 *
107 * "The driver must make sure a PIPE_CONTROL with the Depth Stall
108 * Enable bit set after all the following states are programmed:
109 *
110 * - 3DSTATE_PS
111 * - 3DSTATE_VIEWPORT_STATE_POINTERS_CC
112 * - 3DSTATE_CONSTANT_PS
113 * - 3DSTATE_BINDING_TABLE_POINTERS_PS
114 * - 3DSTATE_SAMPLER_STATE_POINTERS_PS
115 * - 3DSTATE_CC_STATE_POINTERS
116 * - 3DSTATE_BLEND_STATE_POINTERS
117 * - 3DSTATE_DEPTH_STENCIL_STATE_POINTERS"
118 */
119 INTEL_CMD_WA_GEN7_POST_COMMAND_DEPTH_STALL = 1 << 4,
120};
121
Chia-I Wu68f319d2014-09-09 09:43:21 +0800122enum intel_cmd_writer_type {
123 INTEL_CMD_WRITER_BATCH,
124 INTEL_CMD_WRITER_STATE,
125 INTEL_CMD_WRITER_INSTRUCTION,
126
127 INTEL_CMD_WRITER_COUNT,
128};
129
Chia-I Wua57761b2014-10-14 14:27:44 +0800130struct intel_cmd_shader_cache {
131 struct {
132 const void *shader;
133 uint32_t kernel_offset;
134 } *entries;
135
136 XGL_UINT count;
137 XGL_UINT used;
Courtney Goeltzenleuchterd85c1d62014-08-27 14:04:53 -0600138};
139
Chia-I Wub2755562014-08-20 13:38:52 +0800140/*
141 * States bounded to the command buffer. We want to write states directly to
142 * the command buffer when possible, and reduce this struct.
143 */
144struct intel_cmd_bind {
Chia-I Wua57761b2014-10-14 14:27:44 +0800145 struct intel_cmd_shader_cache shader_cache;
146
Chia-I Wub2755562014-08-20 13:38:52 +0800147 struct {
148 const struct intel_pipeline *graphics;
149 const struct intel_pipeline *compute;
150 const struct intel_pipeline_delta *graphics_delta;
151 const struct intel_pipeline_delta *compute_delta;
Chia-I Wua57761b2014-10-14 14:27:44 +0800152
153 uint32_t vs_offset;
154 uint32_t tcs_offset;
155 uint32_t tes_offset;
156 uint32_t gs_offset;
157 uint32_t fs_offset;
158 uint32_t cs_offset;
Chia-I Wub2755562014-08-20 13:38:52 +0800159 } pipeline;
160
Courtney Goeltzenleuchterd85c1d62014-08-27 14:04:53 -0600161 struct {
Chia-I Wub2755562014-08-20 13:38:52 +0800162 const struct intel_viewport_state *viewport;
163 const struct intel_raster_state *raster;
164 const struct intel_msaa_state *msaa;
165 const struct intel_blend_state *blend;
166 const struct intel_ds_state *ds;
167 } state;
168
169 struct {
170 const struct intel_dset *graphics;
171 XGL_UINT graphics_offset;
172 const struct intel_dset *compute;
173 XGL_UINT compute_offset;
174 } dset;
175
176 struct {
177 struct intel_mem_view graphics;
178 struct intel_mem_view compute;
Chia-I Wu9f1722c2014-08-25 10:17:58 +0800179 } dyn_view;
Chia-I Wub2755562014-08-20 13:38:52 +0800180
181 struct {
182 const struct intel_mem *mem;
183 XGL_GPU_SIZE offset;
184 XGL_INDEX_TYPE type;
185 } index;
186
187 struct {
188 const struct intel_rt_view *rt[XGL_MAX_COLOR_ATTACHMENTS];
189 XGL_UINT rt_count;
190
191 const struct intel_ds_view *ds;
Chia-I Wu2e5ec9b2014-10-14 13:37:21 +0800192
193 XGL_UINT width, height;
Chia-I Wub2755562014-08-20 13:38:52 +0800194 } att;
Chia-I Wu48c283d2014-08-25 23:13:46 +0800195
Chia-I Wu707a29e2014-08-27 12:51:47 +0800196 XGL_UINT draw_count;
Chia-I Wu48c283d2014-08-25 23:13:46 +0800197 uint32_t wa_flags;
Chia-I Wub2755562014-08-20 13:38:52 +0800198};
Chia-I Wu09142132014-08-11 15:42:55 +0800199
Chia-I Wue24c3292014-08-21 14:05:23 +0800200struct intel_cmd_writer {
Chia-I Wu72292b72014-09-09 10:48:33 +0800201 XGL_SIZE size;
Chia-I Wue24c3292014-08-21 14:05:23 +0800202 struct intel_bo *bo;
Chia-I Wu0f50ba82014-09-09 10:25:46 +0800203 void *ptr;
Chia-I Wue24c3292014-08-21 14:05:23 +0800204
Chia-I Wu72292b72014-09-09 10:48:33 +0800205 XGL_SIZE used;
Chia-I Wu00b51a82014-09-09 12:07:37 +0800206
207 /* for decoding */
208 struct intel_cmd_item *items;
209 XGL_UINT item_alloc;
210 XGL_UINT item_used;
Chia-I Wue24c3292014-08-21 14:05:23 +0800211};
212
Chia-I Wu730e5362014-08-19 12:15:09 +0800213struct intel_cmd {
214 struct intel_obj obj;
215
216 struct intel_dev *dev;
Chia-I Wu0b784442014-08-25 22:54:16 +0800217 struct intel_bo *scratch_bo;
Chia-I Wu63883292014-08-25 13:50:26 +0800218 int pipeline_select;
Chia-I Wu730e5362014-08-19 12:15:09 +0800219
Chia-I Wu343b1372014-08-20 16:39:20 +0800220 struct intel_cmd_reloc *relocs;
221 XGL_UINT reloc_count;
222
Chia-I Wu730e5362014-08-19 12:15:09 +0800223 XGL_FLAGS flags;
224
Chia-I Wu68f319d2014-09-09 09:43:21 +0800225 struct intel_cmd_writer writers[INTEL_CMD_WRITER_COUNT];
Chia-I Wu730e5362014-08-19 12:15:09 +0800226
Chia-I Wu343b1372014-08-20 16:39:20 +0800227 XGL_UINT reloc_used;
Chia-I Wu04966702014-08-20 15:05:03 +0800228 XGL_RESULT result;
Chia-I Wub2755562014-08-20 13:38:52 +0800229
230 struct intel_cmd_bind bind;
Chia-I Wu730e5362014-08-19 12:15:09 +0800231};
232
233static inline struct intel_cmd *intel_cmd(XGL_CMD_BUFFER cmd)
234{
235 return (struct intel_cmd *) cmd;
236}
237
238static inline struct intel_cmd *intel_cmd_from_obj(struct intel_obj *obj)
239{
240 return (struct intel_cmd *) obj;
241}
242
243XGL_RESULT intel_cmd_create(struct intel_dev *dev,
244 const XGL_CMD_BUFFER_CREATE_INFO *info,
245 struct intel_cmd **cmd_ret);
246void intel_cmd_destroy(struct intel_cmd *cmd);
247
248XGL_RESULT intel_cmd_begin(struct intel_cmd *cmd, XGL_FLAGS flags);
249XGL_RESULT intel_cmd_end(struct intel_cmd *cmd);
250
Chia-I Wu00b51a82014-09-09 12:07:37 +0800251void intel_cmd_decode(struct intel_cmd *cmd);
252
Chia-I Wue24c3292014-08-21 14:05:23 +0800253static inline struct intel_bo *intel_cmd_get_batch(const struct intel_cmd *cmd,
254 XGL_GPU_SIZE *used)
255{
Chia-I Wu68f319d2014-09-09 09:43:21 +0800256 const struct intel_cmd_writer *writer =
257 &cmd->writers[INTEL_CMD_WRITER_BATCH];
Chia-I Wue24c3292014-08-21 14:05:23 +0800258
259 if (used)
Chia-I Wu72292b72014-09-09 10:48:33 +0800260 *used = writer->used;
Chia-I Wue24c3292014-08-21 14:05:23 +0800261
262 return writer->bo;
263}
264
Chia-I Wu09142132014-08-11 15:42:55 +0800265XGL_RESULT XGLAPI intelCreateCommandBuffer(
266 XGL_DEVICE device,
267 const XGL_CMD_BUFFER_CREATE_INFO* pCreateInfo,
268 XGL_CMD_BUFFER* pCmdBuffer);
269
270XGL_RESULT XGLAPI intelBeginCommandBuffer(
271 XGL_CMD_BUFFER cmdBuffer,
272 XGL_FLAGS flags);
273
274XGL_RESULT XGLAPI intelEndCommandBuffer(
275 XGL_CMD_BUFFER cmdBuffer);
276
277XGL_RESULT XGLAPI intelResetCommandBuffer(
278 XGL_CMD_BUFFER cmdBuffer);
279
280XGL_VOID XGLAPI intelCmdBindPipeline(
281 XGL_CMD_BUFFER cmdBuffer,
282 XGL_PIPELINE_BIND_POINT pipelineBindPoint,
283 XGL_PIPELINE pipeline);
284
285XGL_VOID XGLAPI intelCmdBindPipelineDelta(
286 XGL_CMD_BUFFER cmdBuffer,
287 XGL_PIPELINE_BIND_POINT pipelineBindPoint,
288 XGL_PIPELINE_DELTA delta);
289
290XGL_VOID XGLAPI intelCmdBindStateObject(
291 XGL_CMD_BUFFER cmdBuffer,
292 XGL_STATE_BIND_POINT stateBindPoint,
293 XGL_STATE_OBJECT state);
294
295XGL_VOID XGLAPI intelCmdBindDescriptorSet(
296 XGL_CMD_BUFFER cmdBuffer,
297 XGL_PIPELINE_BIND_POINT pipelineBindPoint,
298 XGL_UINT index,
299 XGL_DESCRIPTOR_SET descriptorSet,
300 XGL_UINT slotOffset);
301
302XGL_VOID XGLAPI intelCmdBindDynamicMemoryView(
303 XGL_CMD_BUFFER cmdBuffer,
304 XGL_PIPELINE_BIND_POINT pipelineBindPoint,
305 const XGL_MEMORY_VIEW_ATTACH_INFO* pMemView);
306
307XGL_VOID XGLAPI intelCmdBindIndexData(
308 XGL_CMD_BUFFER cmdBuffer,
309 XGL_GPU_MEMORY mem,
310 XGL_GPU_SIZE offset,
311 XGL_INDEX_TYPE indexType);
312
313XGL_VOID XGLAPI intelCmdBindAttachments(
314 XGL_CMD_BUFFER cmdBuffer,
315 XGL_UINT colorAttachmentCount,
316 const XGL_COLOR_ATTACHMENT_BIND_INFO* pColorAttachments,
317 const XGL_DEPTH_STENCIL_BIND_INFO* pDepthStencilAttachment);
318
319XGL_VOID XGLAPI intelCmdPrepareMemoryRegions(
320 XGL_CMD_BUFFER cmdBuffer,
321 XGL_UINT transitionCount,
322 const XGL_MEMORY_STATE_TRANSITION* pStateTransitions);
323
324XGL_VOID XGLAPI intelCmdPrepareImages(
325 XGL_CMD_BUFFER cmdBuffer,
326 XGL_UINT transitionCount,
327 const XGL_IMAGE_STATE_TRANSITION* pStateTransitions);
328
329XGL_VOID XGLAPI intelCmdDraw(
330 XGL_CMD_BUFFER cmdBuffer,
331 XGL_UINT firstVertex,
332 XGL_UINT vertexCount,
333 XGL_UINT firstInstance,
334 XGL_UINT instanceCount);
335
336XGL_VOID XGLAPI intelCmdDrawIndexed(
337 XGL_CMD_BUFFER cmdBuffer,
338 XGL_UINT firstIndex,
339 XGL_UINT indexCount,
340 XGL_INT vertexOffset,
341 XGL_UINT firstInstance,
342 XGL_UINT instanceCount);
343
344XGL_VOID XGLAPI intelCmdDrawIndirect(
345 XGL_CMD_BUFFER cmdBuffer,
346 XGL_GPU_MEMORY mem,
347 XGL_GPU_SIZE offset,
348 XGL_UINT32 count,
349 XGL_UINT32 stride);
350
351XGL_VOID XGLAPI intelCmdDrawIndexedIndirect(
352 XGL_CMD_BUFFER cmdBuffer,
353 XGL_GPU_MEMORY mem,
354 XGL_GPU_SIZE offset,
355 XGL_UINT32 count,
356 XGL_UINT32 stride);
357
358XGL_VOID XGLAPI intelCmdDispatch(
359 XGL_CMD_BUFFER cmdBuffer,
360 XGL_UINT x,
361 XGL_UINT y,
362 XGL_UINT z);
363
364XGL_VOID XGLAPI intelCmdDispatchIndirect(
365 XGL_CMD_BUFFER cmdBuffer,
366 XGL_GPU_MEMORY mem,
367 XGL_GPU_SIZE offset);
368
369XGL_VOID XGLAPI intelCmdCopyMemory(
370 XGL_CMD_BUFFER cmdBuffer,
371 XGL_GPU_MEMORY srcMem,
372 XGL_GPU_MEMORY destMem,
373 XGL_UINT regionCount,
374 const XGL_MEMORY_COPY* pRegions);
375
376XGL_VOID XGLAPI intelCmdCopyImage(
377 XGL_CMD_BUFFER cmdBuffer,
378 XGL_IMAGE srcImage,
379 XGL_IMAGE destImage,
380 XGL_UINT regionCount,
381 const XGL_IMAGE_COPY* pRegions);
382
383XGL_VOID XGLAPI intelCmdCopyMemoryToImage(
384 XGL_CMD_BUFFER cmdBuffer,
385 XGL_GPU_MEMORY srcMem,
386 XGL_IMAGE destImage,
387 XGL_UINT regionCount,
388 const XGL_MEMORY_IMAGE_COPY* pRegions);
389
390XGL_VOID XGLAPI intelCmdCopyImageToMemory(
391 XGL_CMD_BUFFER cmdBuffer,
392 XGL_IMAGE srcImage,
393 XGL_GPU_MEMORY destMem,
394 XGL_UINT regionCount,
395 const XGL_MEMORY_IMAGE_COPY* pRegions);
396
397XGL_VOID XGLAPI intelCmdCloneImageData(
398 XGL_CMD_BUFFER cmdBuffer,
399 XGL_IMAGE srcImage,
400 XGL_IMAGE_STATE srcImageState,
401 XGL_IMAGE destImage,
402 XGL_IMAGE_STATE destImageState);
403
404XGL_VOID XGLAPI intelCmdUpdateMemory(
405 XGL_CMD_BUFFER cmdBuffer,
406 XGL_GPU_MEMORY destMem,
407 XGL_GPU_SIZE destOffset,
408 XGL_GPU_SIZE dataSize,
409 const XGL_UINT32* pData);
410
411XGL_VOID XGLAPI intelCmdFillMemory(
412 XGL_CMD_BUFFER cmdBuffer,
413 XGL_GPU_MEMORY destMem,
414 XGL_GPU_SIZE destOffset,
415 XGL_GPU_SIZE fillSize,
416 XGL_UINT32 data);
417
418XGL_VOID XGLAPI intelCmdClearColorImage(
419 XGL_CMD_BUFFER cmdBuffer,
420 XGL_IMAGE image,
421 const XGL_FLOAT color[4],
422 XGL_UINT rangeCount,
423 const XGL_IMAGE_SUBRESOURCE_RANGE* pRanges);
424
425XGL_VOID XGLAPI intelCmdClearColorImageRaw(
426 XGL_CMD_BUFFER cmdBuffer,
427 XGL_IMAGE image,
428 const XGL_UINT32 color[4],
429 XGL_UINT rangeCount,
430 const XGL_IMAGE_SUBRESOURCE_RANGE* pRanges);
431
432XGL_VOID XGLAPI intelCmdClearDepthStencil(
433 XGL_CMD_BUFFER cmdBuffer,
434 XGL_IMAGE image,
435 XGL_FLOAT depth,
436 XGL_UINT32 stencil,
437 XGL_UINT rangeCount,
438 const XGL_IMAGE_SUBRESOURCE_RANGE* pRanges);
439
440XGL_VOID XGLAPI intelCmdResolveImage(
441 XGL_CMD_BUFFER cmdBuffer,
442 XGL_IMAGE srcImage,
443 XGL_IMAGE destImage,
444 XGL_UINT rectCount,
445 const XGL_IMAGE_RESOLVE* pRects);
446
447XGL_VOID XGLAPI intelCmdSetEvent(
448 XGL_CMD_BUFFER cmdBuffer,
449 XGL_EVENT event);
450
451XGL_VOID XGLAPI intelCmdResetEvent(
452 XGL_CMD_BUFFER cmdBuffer,
453 XGL_EVENT event);
454
455XGL_VOID XGLAPI intelCmdMemoryAtomic(
456 XGL_CMD_BUFFER cmdBuffer,
457 XGL_GPU_MEMORY destMem,
458 XGL_GPU_SIZE destOffset,
459 XGL_UINT64 srcData,
460 XGL_ATOMIC_OP atomicOp);
461
462XGL_VOID XGLAPI intelCmdBeginQuery(
463 XGL_CMD_BUFFER cmdBuffer,
464 XGL_QUERY_POOL queryPool,
465 XGL_UINT slot,
466 XGL_FLAGS flags);
467
468XGL_VOID XGLAPI intelCmdEndQuery(
469 XGL_CMD_BUFFER cmdBuffer,
470 XGL_QUERY_POOL queryPool,
471 XGL_UINT slot);
472
473XGL_VOID XGLAPI intelCmdResetQueryPool(
474 XGL_CMD_BUFFER cmdBuffer,
475 XGL_QUERY_POOL queryPool,
476 XGL_UINT startQuery,
477 XGL_UINT queryCount);
478
479XGL_VOID XGLAPI intelCmdWriteTimestamp(
480 XGL_CMD_BUFFER cmdBuffer,
481 XGL_TIMESTAMP_TYPE timestampType,
482 XGL_GPU_MEMORY destMem,
483 XGL_GPU_SIZE destOffset);
484
485XGL_VOID XGLAPI intelCmdInitAtomicCounters(
486 XGL_CMD_BUFFER cmdBuffer,
487 XGL_PIPELINE_BIND_POINT pipelineBindPoint,
488 XGL_UINT startCounter,
489 XGL_UINT counterCount,
490 const XGL_UINT32* pData);
491
492XGL_VOID XGLAPI intelCmdLoadAtomicCounters(
493 XGL_CMD_BUFFER cmdBuffer,
494 XGL_PIPELINE_BIND_POINT pipelineBindPoint,
495 XGL_UINT startCounter,
496 XGL_UINT counterCount,
497 XGL_GPU_MEMORY srcMem,
498 XGL_GPU_SIZE srcOffset);
499
500XGL_VOID XGLAPI intelCmdSaveAtomicCounters(
501 XGL_CMD_BUFFER cmdBuffer,
502 XGL_PIPELINE_BIND_POINT pipelineBindPoint,
503 XGL_UINT startCounter,
504 XGL_UINT counterCount,
505 XGL_GPU_MEMORY destMem,
506 XGL_GPU_SIZE destOffset);
507
508XGL_VOID XGLAPI intelCmdDbgMarkerBegin(
509 XGL_CMD_BUFFER cmdBuffer,
510 const XGL_CHAR* pMarker);
511
512XGL_VOID XGLAPI intelCmdDbgMarkerEnd(
513 XGL_CMD_BUFFER cmdBuffer);
514
515#endif /* CMD_H */