Lines Matching refs:cmd

58 dump_SVGA3dVertexDecl(const SVGA3dVertexDecl *cmd)  in dump_SVGA3dVertexDecl()  argument
60 switch((*cmd).identity.type) { in dump_SVGA3dVertexDecl()
116 _debug_printf("\t\t.identity.type = %i\n", (*cmd).identity.type); in dump_SVGA3dVertexDecl()
119 switch((*cmd).identity.method) { in dump_SVGA3dVertexDecl()
142 _debug_printf("\t\t.identity.method = %i\n", (*cmd).identity.method); in dump_SVGA3dVertexDecl()
145 switch((*cmd).identity.usage) { in dump_SVGA3dVertexDecl()
192 _debug_printf("\t\t.identity.usage = %i\n", (*cmd).identity.usage); in dump_SVGA3dVertexDecl()
195 _debug_printf("\t\t.identity.usageIndex = %u\n", (*cmd).identity.usageIndex); in dump_SVGA3dVertexDecl()
196 _debug_printf("\t\t.array.surfaceId = %u\n", (*cmd).array.surfaceId); in dump_SVGA3dVertexDecl()
197 _debug_printf("\t\t.array.offset = %u\n", (*cmd).array.offset); in dump_SVGA3dVertexDecl()
198 _debug_printf("\t\t.array.stride = %u\n", (*cmd).array.stride); in dump_SVGA3dVertexDecl()
199 _debug_printf("\t\t.rangeHint.first = %u\n", (*cmd).rangeHint.first); in dump_SVGA3dVertexDecl()
200 _debug_printf("\t\t.rangeHint.last = %u\n", (*cmd).rangeHint.last); in dump_SVGA3dVertexDecl()
204 dump_SVGA3dTextureState(const SVGA3dTextureState *cmd) in dump_SVGA3dTextureState() argument
206 _debug_printf("\t\t.stage = %u\n", (*cmd).stage); in dump_SVGA3dTextureState()
207 switch((*cmd).name) { in dump_SVGA3dTextureState()
302 _debug_printf("\t\t.name = %i\n", (*cmd).name); in dump_SVGA3dTextureState()
305 _debug_printf("\t\t.value = %u\n", (*cmd).value); in dump_SVGA3dTextureState()
306 _debug_printf("\t\t.floatValue = %f\n", (*cmd).floatValue); in dump_SVGA3dTextureState()
310 dump_SVGA3dViewport(const SVGA3dViewport *cmd) in dump_SVGA3dViewport() argument
312 _debug_printf("\t\t.x = %f\n", (*cmd).x); in dump_SVGA3dViewport()
313 _debug_printf("\t\t.y = %f\n", (*cmd).y); in dump_SVGA3dViewport()
314 _debug_printf("\t\t.width = %f\n", (*cmd).width); in dump_SVGA3dViewport()
315 _debug_printf("\t\t.height = %f\n", (*cmd).height); in dump_SVGA3dViewport()
316 _debug_printf("\t\t.minDepth = %f\n", (*cmd).minDepth); in dump_SVGA3dViewport()
317 _debug_printf("\t\t.maxDepth = %f\n", (*cmd).maxDepth); in dump_SVGA3dViewport()
321 dump_SVGA3dSamplerId(const SVGA3dSamplerId *cmd) in dump_SVGA3dSamplerId() argument
323 _debug_printf("\t\t.id = %u\n", *cmd); in dump_SVGA3dSamplerId()
327 dump_SVGA3dSoTarget(const SVGA3dSoTarget *cmd) in dump_SVGA3dSoTarget() argument
329 _debug_printf("\t\t.sid = %u\n", (*cmd).sid); in dump_SVGA3dSoTarget()
330 _debug_printf("\t\t.offset = %u\n", (*cmd).offset); in dump_SVGA3dSoTarget()
334 dump_SVGA3dInputElementDesc(const SVGA3dInputElementDesc *cmd) in dump_SVGA3dInputElementDesc() argument
336 _debug_printf("\t\t.inputSlot = %u\n", (*cmd).inputSlot); in dump_SVGA3dInputElementDesc()
337 _debug_printf("\t\t.alignedByteOffset = %u\n", (*cmd).alignedByteOffset); in dump_SVGA3dInputElementDesc()
338 _debug_printf("\t\t.format = %s\n", svga_format_name((*cmd).format)); in dump_SVGA3dInputElementDesc()
339 _debug_printf("\t\t.inputSlotClass = %u\n", (*cmd).inputSlotClass); in dump_SVGA3dInputElementDesc()
340 _debug_printf("\t\t.instanceDataStepRate = %u\n", (*cmd).instanceDataStepRate); in dump_SVGA3dInputElementDesc()
341 _debug_printf("\t\t.inputRegister = %u\n", (*cmd).inputRegister); in dump_SVGA3dInputElementDesc()
345 dump_SVGA3dVertexBuffer(const SVGA3dVertexBuffer *cmd) in dump_SVGA3dVertexBuffer() argument
347 _debug_printf("\t\t.sid = %u\n", (*cmd).sid); in dump_SVGA3dVertexBuffer()
348 _debug_printf("\t\t.stride = %u\n", (*cmd).stride); in dump_SVGA3dVertexBuffer()
349 _debug_printf("\t\t.offset = %u\n", (*cmd).offset); in dump_SVGA3dVertexBuffer()
353 dump_SVGA3dCopyBox(const SVGA3dCopyBox *cmd) in dump_SVGA3dCopyBox() argument
355 _debug_printf("\t\t.x = %u\n", (*cmd).x); in dump_SVGA3dCopyBox()
356 _debug_printf("\t\t.y = %u\n", (*cmd).y); in dump_SVGA3dCopyBox()
357 _debug_printf("\t\t.z = %u\n", (*cmd).z); in dump_SVGA3dCopyBox()
358 _debug_printf("\t\t.w = %u\n", (*cmd).w); in dump_SVGA3dCopyBox()
359 _debug_printf("\t\t.h = %u\n", (*cmd).h); in dump_SVGA3dCopyBox()
360 _debug_printf("\t\t.d = %u\n", (*cmd).d); in dump_SVGA3dCopyBox()
361 _debug_printf("\t\t.srcx = %u\n", (*cmd).srcx); in dump_SVGA3dCopyBox()
362 _debug_printf("\t\t.srcy = %u\n", (*cmd).srcy); in dump_SVGA3dCopyBox()
363 _debug_printf("\t\t.srcz = %u\n", (*cmd).srcz); in dump_SVGA3dCopyBox()
373 dump_SVGA3dCmdSetClipPlane(const SVGA3dCmdSetClipPlane *cmd) in dump_SVGA3dCmdSetClipPlane() argument
375 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetClipPlane()
376 _debug_printf("\t\t.index = %u\n", (*cmd).index); in dump_SVGA3dCmdSetClipPlane()
377 _debug_printf("\t\t.plane[0] = %f\n", (*cmd).plane[0]); in dump_SVGA3dCmdSetClipPlane()
378 _debug_printf("\t\t.plane[1] = %f\n", (*cmd).plane[1]); in dump_SVGA3dCmdSetClipPlane()
379 _debug_printf("\t\t.plane[2] = %f\n", (*cmd).plane[2]); in dump_SVGA3dCmdSetClipPlane()
380 _debug_printf("\t\t.plane[3] = %f\n", (*cmd).plane[3]); in dump_SVGA3dCmdSetClipPlane()
384 dump_SVGA3dCmdWaitForQuery(const SVGA3dCmdWaitForQuery *cmd) in dump_SVGA3dCmdWaitForQuery() argument
386 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdWaitForQuery()
387 switch((*cmd).type) { in dump_SVGA3dCmdWaitForQuery()
395 _debug_printf("\t\t.type = %i\n", (*cmd).type); in dump_SVGA3dCmdWaitForQuery()
398 _debug_printf("\t\t.guestResult.gmrId = %u\n", (*cmd).guestResult.gmrId); in dump_SVGA3dCmdWaitForQuery()
399 _debug_printf("\t\t.guestResult.offset = %u\n", (*cmd).guestResult.offset); in dump_SVGA3dCmdWaitForQuery()
403 dump_SVGA3dCmdSetRenderTarget(const SVGA3dCmdSetRenderTarget *cmd) in dump_SVGA3dCmdSetRenderTarget() argument
405 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetRenderTarget()
406 switch((*cmd).type) { in dump_SVGA3dCmdSetRenderTarget()
414 _debug_printf("\t\t.type = SVGA3D_RT_COLOR%u\n", (*cmd).type - SVGA3D_RT_COLOR0); in dump_SVGA3dCmdSetRenderTarget()
417 _debug_printf("\t\t.target.sid = %u\n", (*cmd).target.sid); in dump_SVGA3dCmdSetRenderTarget()
418 _debug_printf("\t\t.target.face = %u\n", (*cmd).target.face); in dump_SVGA3dCmdSetRenderTarget()
419 _debug_printf("\t\t.target.mipmap = %u\n", (*cmd).target.mipmap); in dump_SVGA3dCmdSetRenderTarget()
423 dump_SVGA3dCmdSetTextureState(const SVGA3dCmdSetTextureState *cmd) in dump_SVGA3dCmdSetTextureState() argument
425 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetTextureState()
429 dump_SVGA3dCmdSurfaceCopy(const SVGA3dCmdSurfaceCopy *cmd) in dump_SVGA3dCmdSurfaceCopy() argument
431 _debug_printf("\t\t.src.sid = %u\n", (*cmd).src.sid); in dump_SVGA3dCmdSurfaceCopy()
432 _debug_printf("\t\t.src.face = %u\n", (*cmd).src.face); in dump_SVGA3dCmdSurfaceCopy()
433 _debug_printf("\t\t.src.mipmap = %u\n", (*cmd).src.mipmap); in dump_SVGA3dCmdSurfaceCopy()
434 _debug_printf("\t\t.dest.sid = %u\n", (*cmd).dest.sid); in dump_SVGA3dCmdSurfaceCopy()
435 _debug_printf("\t\t.dest.face = %u\n", (*cmd).dest.face); in dump_SVGA3dCmdSurfaceCopy()
436 _debug_printf("\t\t.dest.mipmap = %u\n", (*cmd).dest.mipmap); in dump_SVGA3dCmdSurfaceCopy()
440 dump_SVGA3dCmdSetMaterial(const SVGA3dCmdSetMaterial *cmd) in dump_SVGA3dCmdSetMaterial() argument
442 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetMaterial()
443 switch((*cmd).face) { in dump_SVGA3dCmdSetMaterial()
463 _debug_printf("\t\t.face = %i\n", (*cmd).face); in dump_SVGA3dCmdSetMaterial()
466 _debug_printf("\t\t.material.diffuse[0] = %f\n", (*cmd).material.diffuse[0]); in dump_SVGA3dCmdSetMaterial()
467 _debug_printf("\t\t.material.diffuse[1] = %f\n", (*cmd).material.diffuse[1]); in dump_SVGA3dCmdSetMaterial()
468 _debug_printf("\t\t.material.diffuse[2] = %f\n", (*cmd).material.diffuse[2]); in dump_SVGA3dCmdSetMaterial()
469 _debug_printf("\t\t.material.diffuse[3] = %f\n", (*cmd).material.diffuse[3]); in dump_SVGA3dCmdSetMaterial()
470 _debug_printf("\t\t.material.ambient[0] = %f\n", (*cmd).material.ambient[0]); in dump_SVGA3dCmdSetMaterial()
471 _debug_printf("\t\t.material.ambient[1] = %f\n", (*cmd).material.ambient[1]); in dump_SVGA3dCmdSetMaterial()
472 _debug_printf("\t\t.material.ambient[2] = %f\n", (*cmd).material.ambient[2]); in dump_SVGA3dCmdSetMaterial()
473 _debug_printf("\t\t.material.ambient[3] = %f\n", (*cmd).material.ambient[3]); in dump_SVGA3dCmdSetMaterial()
474 _debug_printf("\t\t.material.specular[0] = %f\n", (*cmd).material.specular[0]); in dump_SVGA3dCmdSetMaterial()
475 _debug_printf("\t\t.material.specular[1] = %f\n", (*cmd).material.specular[1]); in dump_SVGA3dCmdSetMaterial()
476 _debug_printf("\t\t.material.specular[2] = %f\n", (*cmd).material.specular[2]); in dump_SVGA3dCmdSetMaterial()
477 _debug_printf("\t\t.material.specular[3] = %f\n", (*cmd).material.specular[3]); in dump_SVGA3dCmdSetMaterial()
478 _debug_printf("\t\t.material.emissive[0] = %f\n", (*cmd).material.emissive[0]); in dump_SVGA3dCmdSetMaterial()
479 _debug_printf("\t\t.material.emissive[1] = %f\n", (*cmd).material.emissive[1]); in dump_SVGA3dCmdSetMaterial()
480 _debug_printf("\t\t.material.emissive[2] = %f\n", (*cmd).material.emissive[2]); in dump_SVGA3dCmdSetMaterial()
481 _debug_printf("\t\t.material.emissive[3] = %f\n", (*cmd).material.emissive[3]); in dump_SVGA3dCmdSetMaterial()
482 _debug_printf("\t\t.material.shininess = %f\n", (*cmd).material.shininess); in dump_SVGA3dCmdSetMaterial()
486 dump_SVGA3dCmdSetLightData(const SVGA3dCmdSetLightData *cmd) in dump_SVGA3dCmdSetLightData() argument
488 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetLightData()
489 _debug_printf("\t\t.index = %u\n", (*cmd).index); in dump_SVGA3dCmdSetLightData()
490 switch((*cmd).data.type) { in dump_SVGA3dCmdSetLightData()
510 _debug_printf("\t\t.data.type = %i\n", (*cmd).data.type); in dump_SVGA3dCmdSetLightData()
513 _debug_printf("\t\t.data.inWorldSpace = %u\n", (*cmd).data.inWorldSpace); in dump_SVGA3dCmdSetLightData()
514 _debug_printf("\t\t.data.diffuse[0] = %f\n", (*cmd).data.diffuse[0]); in dump_SVGA3dCmdSetLightData()
515 _debug_printf("\t\t.data.diffuse[1] = %f\n", (*cmd).data.diffuse[1]); in dump_SVGA3dCmdSetLightData()
516 _debug_printf("\t\t.data.diffuse[2] = %f\n", (*cmd).data.diffuse[2]); in dump_SVGA3dCmdSetLightData()
517 _debug_printf("\t\t.data.diffuse[3] = %f\n", (*cmd).data.diffuse[3]); in dump_SVGA3dCmdSetLightData()
518 _debug_printf("\t\t.data.specular[0] = %f\n", (*cmd).data.specular[0]); in dump_SVGA3dCmdSetLightData()
519 _debug_printf("\t\t.data.specular[1] = %f\n", (*cmd).data.specular[1]); in dump_SVGA3dCmdSetLightData()
520 _debug_printf("\t\t.data.specular[2] = %f\n", (*cmd).data.specular[2]); in dump_SVGA3dCmdSetLightData()
521 _debug_printf("\t\t.data.specular[3] = %f\n", (*cmd).data.specular[3]); in dump_SVGA3dCmdSetLightData()
522 _debug_printf("\t\t.data.ambient[0] = %f\n", (*cmd).data.ambient[0]); in dump_SVGA3dCmdSetLightData()
523 _debug_printf("\t\t.data.ambient[1] = %f\n", (*cmd).data.ambient[1]); in dump_SVGA3dCmdSetLightData()
524 _debug_printf("\t\t.data.ambient[2] = %f\n", (*cmd).data.ambient[2]); in dump_SVGA3dCmdSetLightData()
525 _debug_printf("\t\t.data.ambient[3] = %f\n", (*cmd).data.ambient[3]); in dump_SVGA3dCmdSetLightData()
526 _debug_printf("\t\t.data.position[0] = %f\n", (*cmd).data.position[0]); in dump_SVGA3dCmdSetLightData()
527 _debug_printf("\t\t.data.position[1] = %f\n", (*cmd).data.position[1]); in dump_SVGA3dCmdSetLightData()
528 _debug_printf("\t\t.data.position[2] = %f\n", (*cmd).data.position[2]); in dump_SVGA3dCmdSetLightData()
529 _debug_printf("\t\t.data.position[3] = %f\n", (*cmd).data.position[3]); in dump_SVGA3dCmdSetLightData()
530 _debug_printf("\t\t.data.direction[0] = %f\n", (*cmd).data.direction[0]); in dump_SVGA3dCmdSetLightData()
531 _debug_printf("\t\t.data.direction[1] = %f\n", (*cmd).data.direction[1]); in dump_SVGA3dCmdSetLightData()
532 _debug_printf("\t\t.data.direction[2] = %f\n", (*cmd).data.direction[2]); in dump_SVGA3dCmdSetLightData()
533 _debug_printf("\t\t.data.direction[3] = %f\n", (*cmd).data.direction[3]); in dump_SVGA3dCmdSetLightData()
534 _debug_printf("\t\t.data.range = %f\n", (*cmd).data.range); in dump_SVGA3dCmdSetLightData()
535 _debug_printf("\t\t.data.falloff = %f\n", (*cmd).data.falloff); in dump_SVGA3dCmdSetLightData()
536 _debug_printf("\t\t.data.attenuation0 = %f\n", (*cmd).data.attenuation0); in dump_SVGA3dCmdSetLightData()
537 _debug_printf("\t\t.data.attenuation1 = %f\n", (*cmd).data.attenuation1); in dump_SVGA3dCmdSetLightData()
538 _debug_printf("\t\t.data.attenuation2 = %f\n", (*cmd).data.attenuation2); in dump_SVGA3dCmdSetLightData()
539 _debug_printf("\t\t.data.theta = %f\n", (*cmd).data.theta); in dump_SVGA3dCmdSetLightData()
540 _debug_printf("\t\t.data.phi = %f\n", (*cmd).data.phi); in dump_SVGA3dCmdSetLightData()
544 dump_SVGA3dCmdSetViewport(const SVGA3dCmdSetViewport *cmd) in dump_SVGA3dCmdSetViewport() argument
546 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetViewport()
547 _debug_printf("\t\t.rect.x = %u\n", (*cmd).rect.x); in dump_SVGA3dCmdSetViewport()
548 _debug_printf("\t\t.rect.y = %u\n", (*cmd).rect.y); in dump_SVGA3dCmdSetViewport()
549 _debug_printf("\t\t.rect.w = %u\n", (*cmd).rect.w); in dump_SVGA3dCmdSetViewport()
550 _debug_printf("\t\t.rect.h = %u\n", (*cmd).rect.h); in dump_SVGA3dCmdSetViewport()
554 dump_SVGA3dCmdSetScissorRect(const SVGA3dCmdSetScissorRect *cmd) in dump_SVGA3dCmdSetScissorRect() argument
556 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetScissorRect()
557 _debug_printf("\t\t.rect.x = %u\n", (*cmd).rect.x); in dump_SVGA3dCmdSetScissorRect()
558 _debug_printf("\t\t.rect.y = %u\n", (*cmd).rect.y); in dump_SVGA3dCmdSetScissorRect()
559 _debug_printf("\t\t.rect.w = %u\n", (*cmd).rect.w); in dump_SVGA3dCmdSetScissorRect()
560 _debug_printf("\t\t.rect.h = %u\n", (*cmd).rect.h); in dump_SVGA3dCmdSetScissorRect()
564 dump_SVGA3dCopyRect(const SVGA3dCopyRect *cmd) in dump_SVGA3dCopyRect() argument
566 _debug_printf("\t\t.x = %u\n", (*cmd).x); in dump_SVGA3dCopyRect()
567 _debug_printf("\t\t.y = %u\n", (*cmd).y); in dump_SVGA3dCopyRect()
568 _debug_printf("\t\t.w = %u\n", (*cmd).w); in dump_SVGA3dCopyRect()
569 _debug_printf("\t\t.h = %u\n", (*cmd).h); in dump_SVGA3dCopyRect()
570 _debug_printf("\t\t.srcx = %u\n", (*cmd).srcx); in dump_SVGA3dCopyRect()
571 _debug_printf("\t\t.srcy = %u\n", (*cmd).srcy); in dump_SVGA3dCopyRect()
575 dump_SVGA3dCmdSetShader(const SVGA3dCmdSetShader *cmd) in dump_SVGA3dCmdSetShader() argument
577 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetShader()
578 _debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in dump_SVGA3dCmdSetShader()
579 _debug_printf("\t\t.shid = %u\n", (*cmd).shid); in dump_SVGA3dCmdSetShader()
583 dump_SVGA3dCmdEndQuery(const SVGA3dCmdEndQuery *cmd) in dump_SVGA3dCmdEndQuery() argument
585 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdEndQuery()
586 switch((*cmd).type) { in dump_SVGA3dCmdEndQuery()
594 _debug_printf("\t\t.type = %i\n", (*cmd).type); in dump_SVGA3dCmdEndQuery()
597 _debug_printf("\t\t.guestResult.gmrId = %u\n", (*cmd).guestResult.gmrId); in dump_SVGA3dCmdEndQuery()
598 _debug_printf("\t\t.guestResult.offset = %u\n", (*cmd).guestResult.offset); in dump_SVGA3dCmdEndQuery()
602 dump_SVGA3dSize(const SVGA3dSize *cmd) in dump_SVGA3dSize() argument
604 _debug_printf("\t\t.width = %u\n", (*cmd).width); in dump_SVGA3dSize()
605 _debug_printf("\t\t.height = %u\n", (*cmd).height); in dump_SVGA3dSize()
606 _debug_printf("\t\t.depth = %u\n", (*cmd).depth); in dump_SVGA3dSize()
610 dump_SVGA3dCmdDestroySurface(const SVGA3dCmdDestroySurface *cmd) in dump_SVGA3dCmdDestroySurface() argument
612 _debug_printf("\t\t.sid = %u\n", (*cmd).sid); in dump_SVGA3dCmdDestroySurface()
616 dump_SVGA3dCmdDefineContext(const SVGA3dCmdDefineContext *cmd) in dump_SVGA3dCmdDefineContext() argument
618 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdDefineContext()
622 dump_SVGA3dRect(const SVGA3dRect *cmd) in dump_SVGA3dRect() argument
624 _debug_printf("\t\t.x = %u\n", (*cmd).x); in dump_SVGA3dRect()
625 _debug_printf("\t\t.y = %u\n", (*cmd).y); in dump_SVGA3dRect()
626 _debug_printf("\t\t.w = %u\n", (*cmd).w); in dump_SVGA3dRect()
627 _debug_printf("\t\t.h = %u\n", (*cmd).h); in dump_SVGA3dRect()
631 dump_SVGA3dCmdBeginQuery(const SVGA3dCmdBeginQuery *cmd) in dump_SVGA3dCmdBeginQuery() argument
633 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdBeginQuery()
634 switch((*cmd).type) { in dump_SVGA3dCmdBeginQuery()
642 _debug_printf("\t\t.type = %i\n", (*cmd).type); in dump_SVGA3dCmdBeginQuery()
648 dump_SVGA3dRenderState(const SVGA3dRenderState *cmd) in dump_SVGA3dRenderState() argument
650 switch((*cmd).state) { in dump_SVGA3dRenderState()
946 _debug_printf("\t\t.state = %i\n", (*cmd).state); in dump_SVGA3dRenderState()
949 _debug_printf("\t\t.uintValue = %u\n", (*cmd).uintValue); in dump_SVGA3dRenderState()
950 _debug_printf("\t\t.floatValue = %f\n", (*cmd).floatValue); in dump_SVGA3dRenderState()
954 dump_SVGA3dVertexDivisor(const SVGA3dVertexDivisor *cmd) in dump_SVGA3dVertexDivisor() argument
956 _debug_printf("\t\t.value = %u\n", (*cmd).value); in dump_SVGA3dVertexDivisor()
957 _debug_printf("\t\t.count = %u\n", (*cmd).count); in dump_SVGA3dVertexDivisor()
958 _debug_printf("\t\t.indexedData = %u\n", (*cmd).indexedData); in dump_SVGA3dVertexDivisor()
959 _debug_printf("\t\t.instanceData = %u\n", (*cmd).instanceData); in dump_SVGA3dVertexDivisor()
963 dump_SVGA3dCmdDefineShader(const SVGA3dCmdDefineShader *cmd) in dump_SVGA3dCmdDefineShader() argument
965 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdDefineShader()
966 _debug_printf("\t\t.shid = %u\n", (*cmd).shid); in dump_SVGA3dCmdDefineShader()
967 switch((*cmd).type) { in dump_SVGA3dCmdDefineShader()
975 _debug_printf("\t\t.type = %i\n", (*cmd).type); in dump_SVGA3dCmdDefineShader()
1041 dump_SVGA3dCmdSetShaderConst(const SVGA3dCmdSetShaderConst *cmd, uint32 numConsts) in dump_SVGA3dCmdSetShaderConst() argument
1043 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetShaderConst()
1044 _debug_printf("\t\t.reg = %u\n", (*cmd).reg); in dump_SVGA3dCmdSetShaderConst()
1045 _debug_printf("\t\t.type = %s\n", shader_name((*cmd).type)); in dump_SVGA3dCmdSetShaderConst()
1046 dump_constants((*cmd).ctype, cmd->reg, numConsts, cmd->values); in dump_SVGA3dCmdSetShaderConst()
1050 dump_SVGA3dCmdSetGBShaderConstInline(const SVGA3dCmdSetGBShaderConstInline *cmd, uint32 numConsts) in dump_SVGA3dCmdSetGBShaderConstInline() argument
1052 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetGBShaderConstInline()
1053 _debug_printf("\t\t.reg = %u\n", (*cmd).regStart); in dump_SVGA3dCmdSetGBShaderConstInline()
1054 _debug_printf("\t\t.type = %s\n", shader_name((*cmd).shaderType)); in dump_SVGA3dCmdSetGBShaderConstInline()
1055 dump_constants((*cmd).constType, cmd->regStart, numConsts, &cmd[1]); in dump_SVGA3dCmdSetGBShaderConstInline()
1060 dump_SVGA3dCmdSetZRange(const SVGA3dCmdSetZRange *cmd) in dump_SVGA3dCmdSetZRange() argument
1062 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetZRange()
1063 _debug_printf("\t\t.zRange.min = %f\n", (*cmd).zRange.min); in dump_SVGA3dCmdSetZRange()
1064 _debug_printf("\t\t.zRange.max = %f\n", (*cmd).zRange.max); in dump_SVGA3dCmdSetZRange()
1068 dump_SVGA3dCmdDrawPrimitives(const SVGA3dCmdDrawPrimitives *cmd) in dump_SVGA3dCmdDrawPrimitives() argument
1070 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdDrawPrimitives()
1071 _debug_printf("\t\t.numVertexDecls = %u\n", (*cmd).numVertexDecls); in dump_SVGA3dCmdDrawPrimitives()
1072 _debug_printf("\t\t.numRanges = %u\n", (*cmd).numRanges); in dump_SVGA3dCmdDrawPrimitives()
1076 dump_SVGA3dCmdSetLightEnabled(const SVGA3dCmdSetLightEnabled *cmd) in dump_SVGA3dCmdSetLightEnabled() argument
1078 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetLightEnabled()
1079 _debug_printf("\t\t.index = %u\n", (*cmd).index); in dump_SVGA3dCmdSetLightEnabled()
1080 _debug_printf("\t\t.enabled = %u\n", (*cmd).enabled); in dump_SVGA3dCmdSetLightEnabled()
1084 dump_SVGA3dPrimitiveRange(const SVGA3dPrimitiveRange *cmd) in dump_SVGA3dPrimitiveRange() argument
1086 switch((*cmd).primType) { in dump_SVGA3dPrimitiveRange()
1112 _debug_printf("\t\t.primType = %i\n", (*cmd).primType); in dump_SVGA3dPrimitiveRange()
1115 _debug_printf("\t\t.primitiveCount = %u\n", (*cmd).primitiveCount); in dump_SVGA3dPrimitiveRange()
1116 _debug_printf("\t\t.indexArray.surfaceId = %u\n", (*cmd).indexArray.surfaceId); in dump_SVGA3dPrimitiveRange()
1117 _debug_printf("\t\t.indexArray.offset = %u\n", (*cmd).indexArray.offset); in dump_SVGA3dPrimitiveRange()
1118 _debug_printf("\t\t.indexArray.stride = %u\n", (*cmd).indexArray.stride); in dump_SVGA3dPrimitiveRange()
1119 _debug_printf("\t\t.indexWidth = %u\n", (*cmd).indexWidth); in dump_SVGA3dPrimitiveRange()
1120 _debug_printf("\t\t.indexBias = %i\n", (*cmd).indexBias); in dump_SVGA3dPrimitiveRange()
1124 dump_SVGA3dCmdPresent(const SVGA3dCmdPresent *cmd) in dump_SVGA3dCmdPresent() argument
1126 _debug_printf("\t\t.sid = %u\n", (*cmd).sid); in dump_SVGA3dCmdPresent()
1130 dump_SVGA3dCmdSetRenderState(const SVGA3dCmdSetRenderState *cmd) in dump_SVGA3dCmdSetRenderState() argument
1132 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetRenderState()
1136 dump_SVGA3dCmdSurfaceStretchBlt(const SVGA3dCmdSurfaceStretchBlt *cmd) in dump_SVGA3dCmdSurfaceStretchBlt() argument
1138 _debug_printf("\t\t.src.sid = %u\n", (*cmd).src.sid); in dump_SVGA3dCmdSurfaceStretchBlt()
1139 _debug_printf("\t\t.src.face = %u\n", (*cmd).src.face); in dump_SVGA3dCmdSurfaceStretchBlt()
1140 _debug_printf("\t\t.src.mipmap = %u\n", (*cmd).src.mipmap); in dump_SVGA3dCmdSurfaceStretchBlt()
1141 _debug_printf("\t\t.dest.sid = %u\n", (*cmd).dest.sid); in dump_SVGA3dCmdSurfaceStretchBlt()
1142 _debug_printf("\t\t.dest.face = %u\n", (*cmd).dest.face); in dump_SVGA3dCmdSurfaceStretchBlt()
1143 _debug_printf("\t\t.dest.mipmap = %u\n", (*cmd).dest.mipmap); in dump_SVGA3dCmdSurfaceStretchBlt()
1144 _debug_printf("\t\t.boxSrc.x = %u\n", (*cmd).boxSrc.x); in dump_SVGA3dCmdSurfaceStretchBlt()
1145 _debug_printf("\t\t.boxSrc.y = %u\n", (*cmd).boxSrc.y); in dump_SVGA3dCmdSurfaceStretchBlt()
1146 _debug_printf("\t\t.boxSrc.z = %u\n", (*cmd).boxSrc.z); in dump_SVGA3dCmdSurfaceStretchBlt()
1147 _debug_printf("\t\t.boxSrc.w = %u\n", (*cmd).boxSrc.w); in dump_SVGA3dCmdSurfaceStretchBlt()
1148 _debug_printf("\t\t.boxSrc.h = %u\n", (*cmd).boxSrc.h); in dump_SVGA3dCmdSurfaceStretchBlt()
1149 _debug_printf("\t\t.boxSrc.d = %u\n", (*cmd).boxSrc.d); in dump_SVGA3dCmdSurfaceStretchBlt()
1150 _debug_printf("\t\t.boxDest.x = %u\n", (*cmd).boxDest.x); in dump_SVGA3dCmdSurfaceStretchBlt()
1151 _debug_printf("\t\t.boxDest.y = %u\n", (*cmd).boxDest.y); in dump_SVGA3dCmdSurfaceStretchBlt()
1152 _debug_printf("\t\t.boxDest.z = %u\n", (*cmd).boxDest.z); in dump_SVGA3dCmdSurfaceStretchBlt()
1153 _debug_printf("\t\t.boxDest.w = %u\n", (*cmd).boxDest.w); in dump_SVGA3dCmdSurfaceStretchBlt()
1154 _debug_printf("\t\t.boxDest.h = %u\n", (*cmd).boxDest.h); in dump_SVGA3dCmdSurfaceStretchBlt()
1155 _debug_printf("\t\t.boxDest.d = %u\n", (*cmd).boxDest.d); in dump_SVGA3dCmdSurfaceStretchBlt()
1156 switch((*cmd).mode) { in dump_SVGA3dCmdSurfaceStretchBlt()
1167 _debug_printf("\t\t.mode = %i\n", (*cmd).mode); in dump_SVGA3dCmdSurfaceStretchBlt()
1173 dump_SVGA3dCmdSurfaceDMA(const SVGA3dCmdSurfaceDMA *cmd) in dump_SVGA3dCmdSurfaceDMA() argument
1175 _debug_printf("\t\t.guest.ptr.gmrId = %u\n", (*cmd).guest.ptr.gmrId); in dump_SVGA3dCmdSurfaceDMA()
1176 _debug_printf("\t\t.guest.ptr.offset = %u\n", (*cmd).guest.ptr.offset); in dump_SVGA3dCmdSurfaceDMA()
1177 _debug_printf("\t\t.guest.pitch = %u\n", (*cmd).guest.pitch); in dump_SVGA3dCmdSurfaceDMA()
1178 _debug_printf("\t\t.host.sid = %u\n", (*cmd).host.sid); in dump_SVGA3dCmdSurfaceDMA()
1179 _debug_printf("\t\t.host.face = %u\n", (*cmd).host.face); in dump_SVGA3dCmdSurfaceDMA()
1180 _debug_printf("\t\t.host.mipmap = %u\n", (*cmd).host.mipmap); in dump_SVGA3dCmdSurfaceDMA()
1181 switch((*cmd).transfer) { in dump_SVGA3dCmdSurfaceDMA()
1189 _debug_printf("\t\t.transfer = %i\n", (*cmd).transfer); in dump_SVGA3dCmdSurfaceDMA()
1195 dump_SVGA3dCmdSurfaceDMASuffix(const SVGA3dCmdSurfaceDMASuffix *cmd) in dump_SVGA3dCmdSurfaceDMASuffix() argument
1197 _debug_printf("\t\t.suffixSize = %u\n", (*cmd).suffixSize); in dump_SVGA3dCmdSurfaceDMASuffix()
1198 _debug_printf("\t\t.maximumOffset = %u\n", (*cmd).maximumOffset); in dump_SVGA3dCmdSurfaceDMASuffix()
1199 _debug_printf("\t\t.flags.discard = %u\n", (*cmd).flags.discard); in dump_SVGA3dCmdSurfaceDMASuffix()
1200 _debug_printf("\t\t.flags.unsynchronized = %u\n", (*cmd).flags.unsynchronized); in dump_SVGA3dCmdSurfaceDMASuffix()
1204 dump_SVGA3dCmdSetTransform(const SVGA3dCmdSetTransform *cmd) in dump_SVGA3dCmdSetTransform() argument
1206 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdSetTransform()
1207 switch((*cmd).type) { in dump_SVGA3dCmdSetTransform()
1257 _debug_printf("\t\t.type = %i\n", (*cmd).type); in dump_SVGA3dCmdSetTransform()
1260 _debug_printf("\t\t.matrix[0] = %f\n", (*cmd).matrix[0]); in dump_SVGA3dCmdSetTransform()
1261 _debug_printf("\t\t.matrix[1] = %f\n", (*cmd).matrix[1]); in dump_SVGA3dCmdSetTransform()
1262 _debug_printf("\t\t.matrix[2] = %f\n", (*cmd).matrix[2]); in dump_SVGA3dCmdSetTransform()
1263 _debug_printf("\t\t.matrix[3] = %f\n", (*cmd).matrix[3]); in dump_SVGA3dCmdSetTransform()
1264 _debug_printf("\t\t.matrix[4] = %f\n", (*cmd).matrix[4]); in dump_SVGA3dCmdSetTransform()
1265 _debug_printf("\t\t.matrix[5] = %f\n", (*cmd).matrix[5]); in dump_SVGA3dCmdSetTransform()
1266 _debug_printf("\t\t.matrix[6] = %f\n", (*cmd).matrix[6]); in dump_SVGA3dCmdSetTransform()
1267 _debug_printf("\t\t.matrix[7] = %f\n", (*cmd).matrix[7]); in dump_SVGA3dCmdSetTransform()
1268 _debug_printf("\t\t.matrix[8] = %f\n", (*cmd).matrix[8]); in dump_SVGA3dCmdSetTransform()
1269 _debug_printf("\t\t.matrix[9] = %f\n", (*cmd).matrix[9]); in dump_SVGA3dCmdSetTransform()
1270 _debug_printf("\t\t.matrix[10] = %f\n", (*cmd).matrix[10]); in dump_SVGA3dCmdSetTransform()
1271 _debug_printf("\t\t.matrix[11] = %f\n", (*cmd).matrix[11]); in dump_SVGA3dCmdSetTransform()
1272 _debug_printf("\t\t.matrix[12] = %f\n", (*cmd).matrix[12]); in dump_SVGA3dCmdSetTransform()
1273 _debug_printf("\t\t.matrix[13] = %f\n", (*cmd).matrix[13]); in dump_SVGA3dCmdSetTransform()
1274 _debug_printf("\t\t.matrix[14] = %f\n", (*cmd).matrix[14]); in dump_SVGA3dCmdSetTransform()
1275 _debug_printf("\t\t.matrix[15] = %f\n", (*cmd).matrix[15]); in dump_SVGA3dCmdSetTransform()
1279 dump_SVGA3dCmdDestroyShader(const SVGA3dCmdDestroyShader *cmd) in dump_SVGA3dCmdDestroyShader() argument
1281 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdDestroyShader()
1282 _debug_printf("\t\t.shid = %u\n", (*cmd).shid); in dump_SVGA3dCmdDestroyShader()
1283 switch((*cmd).type) { in dump_SVGA3dCmdDestroyShader()
1291 _debug_printf("\t\t.type = %i\n", (*cmd).type); in dump_SVGA3dCmdDestroyShader()
1297 dump_SVGA3dCmdDestroyContext(const SVGA3dCmdDestroyContext *cmd) in dump_SVGA3dCmdDestroyContext() argument
1299 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdDestroyContext()
1303 dump_SVGA3dCmdClear(const SVGA3dCmdClear *cmd) in dump_SVGA3dCmdClear() argument
1305 _debug_printf("\t\t.cid = %u\n", (*cmd).cid); in dump_SVGA3dCmdClear()
1306 switch((*cmd).clearFlag) { in dump_SVGA3dCmdClear()
1317 _debug_printf("\t\t.clearFlag = %i\n", (*cmd).clearFlag); in dump_SVGA3dCmdClear()
1320 _debug_printf("\t\t.color = %u\n", (*cmd).color); in dump_SVGA3dCmdClear()
1321 _debug_printf("\t\t.depth = %f\n", (*cmd).depth); in dump_SVGA3dCmdClear()
1322 _debug_printf("\t\t.stencil = %u\n", (*cmd).stencil); in dump_SVGA3dCmdClear()
1326 dump_SVGA3dCmdDefineSurface(const SVGA3dCmdDefineSurface *cmd) in dump_SVGA3dCmdDefineSurface() argument
1328 _debug_printf("\t\t.sid = %u\n", (*cmd).sid); in dump_SVGA3dCmdDefineSurface()
1329 switch((*cmd).surfaceFlags) { in dump_SVGA3dCmdDefineSurface()
1346 _debug_printf("\t\t.surfaceFlags = %i\n", (*cmd).surfaceFlags); in dump_SVGA3dCmdDefineSurface()
1349 _debug_printf("\t\t.format = %s\n", svga_format_name((*cmd).format)); in dump_SVGA3dCmdDefineSurface()
1350 _debug_printf("\t\t.face[0].numMipLevels = %u\n", (*cmd).face[0].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1351 _debug_printf("\t\t.face[1].numMipLevels = %u\n", (*cmd).face[1].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1352 _debug_printf("\t\t.face[2].numMipLevels = %u\n", (*cmd).face[2].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1353 _debug_printf("\t\t.face[3].numMipLevels = %u\n", (*cmd).face[3].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1354 _debug_printf("\t\t.face[4].numMipLevels = %u\n", (*cmd).face[4].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1355 _debug_printf("\t\t.face[5].numMipLevels = %u\n", (*cmd).face[5].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1359 dump_SVGASignedRect(const SVGASignedRect *cmd) in dump_SVGASignedRect() argument
1361 _debug_printf("\t\t.left = %i\n", (*cmd).left); in dump_SVGASignedRect()
1362 _debug_printf("\t\t.top = %i\n", (*cmd).top); in dump_SVGASignedRect()
1363 _debug_printf("\t\t.right = %i\n", (*cmd).right); in dump_SVGASignedRect()
1364 _debug_printf("\t\t.bottom = %i\n", (*cmd).bottom); in dump_SVGASignedRect()
1376 dump_SVGA3dCmdBlitSurfaceToScreen(const SVGA3dCmdBlitSurfaceToScreen *cmd) in dump_SVGA3dCmdBlitSurfaceToScreen() argument
1378 _debug_printf("\t\t.srcImage.sid = %u\n", (*cmd).srcImage.sid); in dump_SVGA3dCmdBlitSurfaceToScreen()
1379 _debug_printf("\t\t.srcImage.face = %u\n", (*cmd).srcImage.face); in dump_SVGA3dCmdBlitSurfaceToScreen()
1380 _debug_printf("\t\t.srcImage.mipmap = %u\n", (*cmd).srcImage.mipmap); in dump_SVGA3dCmdBlitSurfaceToScreen()
1381 _debug_printf("\t\t.srcRect.left = %i\n", (*cmd).srcRect.left); in dump_SVGA3dCmdBlitSurfaceToScreen()
1382 _debug_printf("\t\t.srcRect.top = %i\n", (*cmd).srcRect.top); in dump_SVGA3dCmdBlitSurfaceToScreen()
1383 _debug_printf("\t\t.srcRect.right = %i\n", (*cmd).srcRect.right); in dump_SVGA3dCmdBlitSurfaceToScreen()
1384 _debug_printf("\t\t.srcRect.bottom = %i\n", (*cmd).srcRect.bottom); in dump_SVGA3dCmdBlitSurfaceToScreen()
1385 _debug_printf("\t\t.destScreenId = %u\n", (*cmd).destScreenId); in dump_SVGA3dCmdBlitSurfaceToScreen()
1386 _debug_printf("\t\t.destRect.left = %i\n", (*cmd).destRect.left); in dump_SVGA3dCmdBlitSurfaceToScreen()
1387 _debug_printf("\t\t.destRect.top = %i\n", (*cmd).destRect.top); in dump_SVGA3dCmdBlitSurfaceToScreen()
1388 _debug_printf("\t\t.destRect.right = %i\n", (*cmd).destRect.right); in dump_SVGA3dCmdBlitSurfaceToScreen()
1389 _debug_printf("\t\t.destRect.bottom = %i\n", (*cmd).destRect.bottom); in dump_SVGA3dCmdBlitSurfaceToScreen()
1393 dump_SVGA3dCmdDefineGBContext(const SVGA3dCmdDefineGBContext *cmd) in dump_SVGA3dCmdDefineGBContext() argument
1395 _debug_printf("\t\t.cid = %u\n", cmd->cid); in dump_SVGA3dCmdDefineGBContext()
1399 dump_SVGA3dCmdBindGBContext(const SVGA3dCmdBindGBContext *cmd) in dump_SVGA3dCmdBindGBContext() argument
1401 _debug_printf("\t\t.cid = %u\n", cmd->cid); in dump_SVGA3dCmdBindGBContext()
1402 _debug_printf("\t\t.mobid = %u\n", cmd->mobid); in dump_SVGA3dCmdBindGBContext()
1403 _debug_printf("\t\t.validContents = %u\n", cmd->validContents); in dump_SVGA3dCmdBindGBContext()
1407 dump_SVGA3dCmdDestroyGBContext(const SVGA3dCmdDestroyGBContext *cmd) in dump_SVGA3dCmdDestroyGBContext() argument
1409 _debug_printf("\t\t.cid = %u\n", cmd->cid); in dump_SVGA3dCmdDestroyGBContext()
1413 dump_SVGA3dCmdDefineGBShader(const SVGA3dCmdDefineGBShader *cmd) in dump_SVGA3dCmdDefineGBShader() argument
1415 _debug_printf("\t\t.shid = %u\n", cmd->shid); in dump_SVGA3dCmdDefineGBShader()
1416 _debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in dump_SVGA3dCmdDefineGBShader()
1417 _debug_printf("\t\t.sizeInBytes = %u\n", cmd->sizeInBytes); in dump_SVGA3dCmdDefineGBShader()
1421 dump_SVGA3dCmdBindGBShader(const SVGA3dCmdBindGBShader *cmd) in dump_SVGA3dCmdBindGBShader() argument
1423 _debug_printf("\t\t.shid = %u\n", cmd->shid); in dump_SVGA3dCmdBindGBShader()
1424 _debug_printf("\t\t.mobid = %u\n", cmd->mobid); in dump_SVGA3dCmdBindGBShader()
1425 _debug_printf("\t\t.offsetInBytes = %u\n", cmd->offsetInBytes); in dump_SVGA3dCmdBindGBShader()
1429 dump_SVGA3dCmdDestroyGBShader(const SVGA3dCmdDestroyGBShader *cmd) in dump_SVGA3dCmdDestroyGBShader() argument
1431 _debug_printf("\t\t.shid = %u\n", cmd->shid); in dump_SVGA3dCmdDestroyGBShader()
1435 dump_SVGA3dCmdBindGBSurface(const SVGA3dCmdBindGBSurface *cmd) in dump_SVGA3dCmdBindGBSurface() argument
1437 _debug_printf("\t\t.sid = %u\n", cmd->sid); in dump_SVGA3dCmdBindGBSurface()
1438 _debug_printf("\t\t.mobid = %u\n", cmd->mobid); in dump_SVGA3dCmdBindGBSurface()
1442 dump_SVGA3dCmdUpdateGBSurface(const SVGA3dCmdUpdateGBSurface *cmd) in dump_SVGA3dCmdUpdateGBSurface() argument
1444 _debug_printf("\t\t.sid = %u\n", cmd->sid); in dump_SVGA3dCmdUpdateGBSurface()
1448 dump_SVGA3dCmdUpdateGBImage(const SVGA3dCmdUpdateGBImage *cmd) in dump_SVGA3dCmdUpdateGBImage() argument
1450 _debug_printf("\t\t.image.sid = %u\n", cmd->image.sid); in dump_SVGA3dCmdUpdateGBImage()
1451 _debug_printf("\t\t.image.face = %u\n", cmd->image.face); in dump_SVGA3dCmdUpdateGBImage()
1452 _debug_printf("\t\t.image.mipmap = %u\n", cmd->image.mipmap); in dump_SVGA3dCmdUpdateGBImage()
1453 dump_SVGA3dBox(&cmd->box); in dump_SVGA3dCmdUpdateGBImage()
1457 dump_SVGA3dCmdReadbackGBImage(const SVGA3dCmdReadbackGBImage *cmd) in dump_SVGA3dCmdReadbackGBImage() argument
1459 _debug_printf("\t\t.image.sid = %u\n", cmd->image.sid); in dump_SVGA3dCmdReadbackGBImage()
1460 _debug_printf("\t\t.image.face = %u\n", cmd->image.face); in dump_SVGA3dCmdReadbackGBImage()
1461 _debug_printf("\t\t.image.mipmap = %u\n", cmd->image.mipmap); in dump_SVGA3dCmdReadbackGBImage()
1465 dump_SVGA3dCmdInvalidateGBImage(const SVGA3dCmdInvalidateGBImage *cmd) in dump_SVGA3dCmdInvalidateGBImage() argument
1467 _debug_printf("\t\t.image.sid = %u\n", cmd->image.sid); in dump_SVGA3dCmdInvalidateGBImage()
1468 _debug_printf("\t\t.image.face = %u\n", cmd->image.face); in dump_SVGA3dCmdInvalidateGBImage()
1469 _debug_printf("\t\t.image.mipmap = %u\n", cmd->image.mipmap); in dump_SVGA3dCmdInvalidateGBImage()
1473 dump_SVGA3dCmdInvalidateGBImagePartial(const SVGA3dCmdInvalidateGBImagePartial *cmd) in dump_SVGA3dCmdInvalidateGBImagePartial() argument
1475 _debug_printf("\t\t.image.sid = %u\n", cmd->image.sid); in dump_SVGA3dCmdInvalidateGBImagePartial()
1476 _debug_printf("\t\t.image.face = %u\n", cmd->image.face); in dump_SVGA3dCmdInvalidateGBImagePartial()
1477 _debug_printf("\t\t.image.mipmap = %u\n", cmd->image.mipmap); in dump_SVGA3dCmdInvalidateGBImagePartial()
1478 dump_SVGA3dBox(&cmd->box); in dump_SVGA3dCmdInvalidateGBImagePartial()
1479 _debug_printf("\t\t.invertBox = %u\n", cmd->invertBox); in dump_SVGA3dCmdInvalidateGBImagePartial()
1489 dump_SVGA3dCmdDX##CommandName(const SVGA3dCmdDX##CommandName *cmd)
1492 _debug_printf(SVGA3D_DUMP_STRINGIFY(\t\t.ParameterName = %ParameterType\n), cmd->ParameterName)
1501 _debug_printf(SVGA3D_DUMP_STRINGIFY(\t\t.TypeVariableName = %i\n), (*cmd).TypeVariableName); \
1507 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1513 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1554 _debug_printf("\t\t.blendFactor[4] = %f %f %f %f\n", cmd->blendFactor[0], in SVGA3D_DUMP_HEADER()
1555 cmd->blendFactor[1], in SVGA3D_DUMP_HEADER()
1556 cmd->blendFactor[2], in SVGA3D_DUMP_HEADER()
1557 cmd->blendFactor[3]); in SVGA3D_DUMP_HEADER()
1575 switch (cmd->type) in SVGA3D_DUMP_HEADER()
1581 switch (cmd->flags) in SVGA3D_DUMP_HEADER()
1683 _debug_printf("\t\t.format = %s\n", svga_format_name(cmd->format)); in SVGA3D_DUMP_HEADER()
1684 switch (cmd->resourceDimension) in SVGA3D_DUMP_HEADER()
1694 if (cmd->resourceDimension == SVGA3D_RESOURCE_BUFFER) { in SVGA3D_DUMP_HEADER()
1709 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1722 _debug_printf("\t\t.format = %s\n", svga_format_name(cmd->format)); in SVGA3D_DUMP_HEADER()
1723 switch (cmd->resourceDimension) in SVGA3D_DUMP_HEADER()
1752 _debug_printf("\t\t.format = %s\n", svga_format_name(cmd->format)); in SVGA3D_DUMP_HEADER()
1753 switch (cmd->resourceDimension) in SVGA3D_DUMP_HEADER()
1784 dump_SVGA3dCmdDXDefineBlendState(const SVGA3dCmdDXDefineBlendState *cmd) in dump_SVGA3dCmdDXDefineBlendState() argument
1792 const SVGA3dDXBlendStatePerRT *rt = cmd->perRT + i; in dump_SVGA3dCmdDXDefineBlendState()
1892 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1916 i, cmd->streamOutputStrideInBytes[i]); in SVGA3D_DUMP_HEADER()
1920 _debug_printf("\t\t.decl[%d].outputSlot = %u\n", i, cmd->decl[i].outputSlot); in SVGA3D_DUMP_HEADER()
1921 _debug_printf("\t\t.decl[%d].registerIndex = %u\n", i, cmd->decl[i].registerIndex); in SVGA3D_DUMP_HEADER()
1922 _debug_printf("\t\t.decl[%d].registerMask = %u\n", i, cmd->decl[i].registerMask); in SVGA3D_DUMP_HEADER()
1940 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1959 switch (cmd->topology) in SVGA3D_DUMP_HEADER()
1976 _debug_printf("\t\t.format = %s\n", svga_format_name(cmd->format)); in SVGA3D_DUMP_HEADER()
1986 dump_SVGA3dCopyBox(&cmd->box); in SVGA3D_DUMP_HEADER()
1996 dump_SVGA3dCmdDXUpdateSubResource(const SVGA3dCmdDXUpdateSubResource *cmd) in dump_SVGA3dCmdDXUpdateSubResource() argument
2000 dump_SVGA3dBox(&cmd->box); in dump_SVGA3dCmdDXUpdateSubResource()
2004 dump_SVGA3dCmdDXReadbackSubResource(const SVGA3dCmdDXReadbackSubResource *cmd) in dump_SVGA3dCmdDXReadbackSubResource() argument
2041 dump_SVGA3dBox(&cmd->destBox); in SVGA3D_DUMP_HEADER()
2045 dump_SVGA3dCmdIntraSurfaceCopy(const SVGA3dCmdIntraSurfaceCopy *cmd) in dump_SVGA3dCmdIntraSurfaceCopy() argument
2050 dump_SVGA3dCopyBox(&cmd->box); in dump_SVGA3dCmdIntraSurfaceCopy()
2054 dump_SVGA3dCmdInvalidateGBSurface(const SVGA3dCmdInvalidateGBSurface *cmd) in dump_SVGA3dCmdInvalidateGBSurface() argument
2063 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2064 dump_SVGA3dCmdDX##CommandName(cmd); \
2065 body = (const uint8_t *)&cmd[1]; \
2073 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2074 dump_SVGA3dCmdDX##CommandName(cmd); \
2075 body = (const uint8_t *)&cmd[1]; \
2158 const SVGA3dCmdDXSetRenderTargets *cmd = in svga_dump_command() local
2161 cmd->depthStencilViewId); in svga_dump_command()
2162 body = (const uint8_t *) &cmd[1]; in svga_dump_command()
2174 const SVGA3dCmdDefineSurface *cmd = (const SVGA3dCmdDefineSurface *)body; in svga_dump_command() local
2175 dump_SVGA3dCmdDefineSurface(cmd); in svga_dump_command()
2176 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2186 const SVGA3dCmdDestroySurface *cmd = (const SVGA3dCmdDestroySurface *)body; in svga_dump_command() local
2187 dump_SVGA3dCmdDestroySurface(cmd); in svga_dump_command()
2188 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2194 const SVGA3dCmdSurfaceCopy *cmd = (const SVGA3dCmdSurfaceCopy *)body; in svga_dump_command() local
2195 dump_SVGA3dCmdSurfaceCopy(cmd); in svga_dump_command()
2196 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2206 const SVGA3dCmdSurfaceStretchBlt *cmd = (const SVGA3dCmdSurfaceStretchBlt *)body; in svga_dump_command() local
2207 dump_SVGA3dCmdSurfaceStretchBlt(cmd); in svga_dump_command()
2208 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2214 const SVGA3dCmdSurfaceDMA *cmd = (const SVGA3dCmdSurfaceDMA *)body; in svga_dump_command() local
2215 dump_SVGA3dCmdSurfaceDMA(cmd); in svga_dump_command()
2216 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2230 const SVGA3dCmdDefineContext *cmd = (const SVGA3dCmdDefineContext *)body; in svga_dump_command() local
2231 dump_SVGA3dCmdDefineContext(cmd); in svga_dump_command()
2232 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2238 const SVGA3dCmdDestroyContext *cmd = (const SVGA3dCmdDestroyContext *)body; in svga_dump_command() local
2239 dump_SVGA3dCmdDestroyContext(cmd); in svga_dump_command()
2240 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2246 const SVGA3dCmdSetTransform *cmd = (const SVGA3dCmdSetTransform *)body; in svga_dump_command() local
2247 dump_SVGA3dCmdSetTransform(cmd); in svga_dump_command()
2248 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2254 const SVGA3dCmdSetZRange *cmd = (const SVGA3dCmdSetZRange *)body; in svga_dump_command() local
2255 dump_SVGA3dCmdSetZRange(cmd); in svga_dump_command()
2256 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2262 const SVGA3dCmdSetRenderState *cmd = (const SVGA3dCmdSetRenderState *)body; in svga_dump_command() local
2263 dump_SVGA3dCmdSetRenderState(cmd); in svga_dump_command()
2264 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2274 const SVGA3dCmdSetRenderTarget *cmd = (const SVGA3dCmdSetRenderTarget *)body; in svga_dump_command() local
2275 dump_SVGA3dCmdSetRenderTarget(cmd); in svga_dump_command()
2276 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2282 const SVGA3dCmdSetTextureState *cmd = (const SVGA3dCmdSetTextureState *)body; in svga_dump_command() local
2283 dump_SVGA3dCmdSetTextureState(cmd); in svga_dump_command()
2284 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2294 const SVGA3dCmdSetMaterial *cmd = (const SVGA3dCmdSetMaterial *)body; in svga_dump_command() local
2295 dump_SVGA3dCmdSetMaterial(cmd); in svga_dump_command()
2296 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2302 const SVGA3dCmdSetLightData *cmd = (const SVGA3dCmdSetLightData *)body; in svga_dump_command() local
2303 dump_SVGA3dCmdSetLightData(cmd); in svga_dump_command()
2304 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2310 const SVGA3dCmdSetLightEnabled *cmd = (const SVGA3dCmdSetLightEnabled *)body; in svga_dump_command() local
2311 dump_SVGA3dCmdSetLightEnabled(cmd); in svga_dump_command()
2312 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2318 const SVGA3dCmdSetViewport *cmd = (const SVGA3dCmdSetViewport *)body; in svga_dump_command() local
2319 dump_SVGA3dCmdSetViewport(cmd); in svga_dump_command()
2320 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2326 const SVGA3dCmdSetClipPlane *cmd = (const SVGA3dCmdSetClipPlane *)body; in svga_dump_command() local
2327 dump_SVGA3dCmdSetClipPlane(cmd); in svga_dump_command()
2328 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2334 const SVGA3dCmdClear *cmd = (const SVGA3dCmdClear *)body; in svga_dump_command() local
2335 dump_SVGA3dCmdClear(cmd); in svga_dump_command()
2336 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2346 const SVGA3dCmdPresent *cmd = (const SVGA3dCmdPresent *)body; in svga_dump_command() local
2347 dump_SVGA3dCmdPresent(cmd); in svga_dump_command()
2348 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2358 const SVGA3dCmdDefineShader *cmd = (const SVGA3dCmdDefineShader *)body; in svga_dump_command() local
2359 dump_SVGA3dCmdDefineShader(cmd); in svga_dump_command()
2360 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2370 const SVGA3dCmdDestroyShader *cmd = (const SVGA3dCmdDestroyShader *)body; in svga_dump_command() local
2371 dump_SVGA3dCmdDestroyShader(cmd); in svga_dump_command()
2372 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2378 const SVGA3dCmdSetShader *cmd = (const SVGA3dCmdSetShader *)body; in svga_dump_command() local
2379 dump_SVGA3dCmdSetShader(cmd); in svga_dump_command()
2380 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2386 const SVGA3dCmdSetShaderConst *cmd = (const SVGA3dCmdSetShaderConst *)body; in svga_dump_command() local
2387 uint32 numConsts = 1 + (size - sizeof *cmd) / (4 * sizeof(uint32)); in svga_dump_command()
2388 dump_SVGA3dCmdSetShaderConst(cmd, numConsts); in svga_dump_command()
2395 const SVGA3dCmdDrawPrimitives *cmd = (const SVGA3dCmdDrawPrimitives *)body; in svga_dump_command() local
2397 dump_SVGA3dCmdDrawPrimitives(cmd); in svga_dump_command()
2398 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2399 for(i = 0; i < cmd->numVertexDecls; ++i) { in svga_dump_command()
2403 for(j = 0; j < cmd->numRanges; ++j) { in svga_dump_command()
2416 const SVGA3dCmdSetScissorRect *cmd = (const SVGA3dCmdSetScissorRect *)body; in svga_dump_command() local
2417 dump_SVGA3dCmdSetScissorRect(cmd); in svga_dump_command()
2418 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2424 const SVGA3dCmdBeginQuery *cmd = (const SVGA3dCmdBeginQuery *)body; in svga_dump_command() local
2425 dump_SVGA3dCmdBeginQuery(cmd); in svga_dump_command()
2426 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2432 const SVGA3dCmdEndQuery *cmd = (const SVGA3dCmdEndQuery *)body; in svga_dump_command() local
2433 dump_SVGA3dCmdEndQuery(cmd); in svga_dump_command()
2434 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2440 const SVGA3dCmdWaitForQuery *cmd = (const SVGA3dCmdWaitForQuery *)body; in svga_dump_command() local
2441 dump_SVGA3dCmdWaitForQuery(cmd); in svga_dump_command()
2442 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2448 const SVGA3dCmdBlitSurfaceToScreen *cmd = (const SVGA3dCmdBlitSurfaceToScreen *)body; in svga_dump_command() local
2449 dump_SVGA3dCmdBlitSurfaceToScreen(cmd); in svga_dump_command()
2450 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2460 const SVGA3dCmdDefineGBContext *cmd = (const SVGA3dCmdDefineGBContext *) body; in svga_dump_command() local
2461 dump_SVGA3dCmdDefineGBContext(cmd); in svga_dump_command()
2462 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2468 const SVGA3dCmdBindGBContext *cmd = (const SVGA3dCmdBindGBContext *) body; in svga_dump_command() local
2469 dump_SVGA3dCmdBindGBContext(cmd); in svga_dump_command()
2470 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2476 const SVGA3dCmdDestroyGBContext *cmd = (const SVGA3dCmdDestroyGBContext *) body; in svga_dump_command() local
2477 dump_SVGA3dCmdDestroyGBContext(cmd); in svga_dump_command()
2478 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2484 const SVGA3dCmdDefineGBShader *cmd = (const SVGA3dCmdDefineGBShader *) body; in svga_dump_command() local
2485 dump_SVGA3dCmdDefineGBShader(cmd); in svga_dump_command()
2486 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2492 const SVGA3dCmdBindGBShader *cmd = (const SVGA3dCmdBindGBShader *) body; in svga_dump_command() local
2493 dump_SVGA3dCmdBindGBShader(cmd); in svga_dump_command()
2494 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2500 const SVGA3dCmdDestroyGBShader *cmd = (const SVGA3dCmdDestroyGBShader *) body; in svga_dump_command() local
2501 dump_SVGA3dCmdDestroyGBShader(cmd); in svga_dump_command()
2502 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2508 const SVGA3dCmdBindGBSurface *cmd = (const SVGA3dCmdBindGBSurface *) body; in svga_dump_command() local
2509 dump_SVGA3dCmdBindGBSurface(cmd); in svga_dump_command()
2510 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2516 const SVGA3dCmdUpdateGBSurface *cmd = (const SVGA3dCmdUpdateGBSurface *) body; in svga_dump_command() local
2517 dump_SVGA3dCmdUpdateGBSurface(cmd); in svga_dump_command()
2518 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2524 const SVGA3dCmdReadbackGBImage *cmd = (SVGA3dCmdReadbackGBImage *) body; in svga_dump_command() local
2525 dump_SVGA3dCmdReadbackGBImage(cmd); in svga_dump_command()
2526 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2532 const SVGA3dCmdUpdateGBImage *cmd = (const SVGA3dCmdUpdateGBImage *) body; in svga_dump_command() local
2533 dump_SVGA3dCmdUpdateGBImage(cmd); in svga_dump_command()
2534 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2540 const SVGA3dCmdInvalidateGBImage *cmd = (const SVGA3dCmdInvalidateGBImage *) body; in svga_dump_command() local
2541 dump_SVGA3dCmdInvalidateGBImage(cmd); in svga_dump_command()
2542 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2548 … const SVGA3dCmdInvalidateGBImagePartial *cmd = (const SVGA3dCmdInvalidateGBImagePartial *) body; in svga_dump_command() local
2549 dump_SVGA3dCmdInvalidateGBImagePartial(cmd); in svga_dump_command()
2550 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2557 const SVGA3dCmdSetGBShaderConstInline *cmd = (const SVGA3dCmdSetGBShaderConstInline *)body; in svga_dump_command() local
2558 uint32 numConsts = (size - sizeof *cmd) / (4 * sizeof(uint32)); in svga_dump_command()
2559 dump_SVGA3dCmdSetGBShaderConstInline(cmd, numConsts); in svga_dump_command()
2566 const SVGA3dCmdInvalidateGBSurface *cmd = (const SVGA3dCmdInvalidateGBSurface *)body; in svga_dump_command() local
2567 dump_SVGA3dCmdInvalidateGBSurface(cmd); in svga_dump_command()
2568 body = (const uint8_t *)&cmd[1]; in svga_dump_command()
2574 const SVGA3dCmdIntraSurfaceCopy *cmd = (const SVGA3dCmdIntraSurfaceCopy *)body; in svga_dump_command() local
2575 dump_SVGA3dCmdIntraSurfaceCopy(cmd); in svga_dump_command()
2576 body = (const uint8_t *)&cmd[1]; in svga_dump_command()