{
drm_radeon_cmd_header_t *cmd = NULL;
- cmd = (drm_radeon_cmd_header_t*)r300AllocCmdBuf(rmesa,
- 1,
+ cmd =
+ (drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, 1,
__FUNCTION__);
- cmd[0].header.cmd_type=R300_CMD_END3D;
+ cmd[0].header.cmd_type = R300_CMD_END3D;
}
void static inline cp_delay(r300ContextPtr rmesa, unsigned short count)
{
drm_radeon_cmd_header_t *cmd = NULL;
- cmd = (drm_radeon_cmd_header_t*)r300AllocCmdBuf(rmesa,
- 1,
+ cmd =
+ (drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, 1,
__FUNCTION__);
- cmd[0].i=cmdcpdelay(count);
+ cmd[0].i = cmdcpdelay(count);
}
void static inline cp_wait(r300ContextPtr rmesa, unsigned char flags)
{
drm_radeon_cmd_header_t *cmd = NULL;
- cmd = (drm_radeon_cmd_header_t*)r300AllocCmdBuf(rmesa,
- 1,
+ cmd =
+ (drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, 1,
__FUNCTION__);
cmd[0].i = cmdwait(flags);
}
/**
* fire vertex buffer
*/
-static void inline fire_AOS(r300ContextPtr rmesa, int vertex_count, int type)
+static void inline
+fire_AOS(r300ContextPtr rmesa, int vertex_count, int type)
{
int cmd_reserved = 0;
int cmd_written = 0;
#ifdef NOTNEEDED_ANYMORE
e32(0x840c0024);
#endif
- e32(R300_VAP_VF_CNTL__PRIM_WALK_VERTEX_LIST |
- (vertex_count<<16) | type);
+ e32(R300_VAP_VF_CNTL__PRIM_WALK_VERTEX_LIST | (vertex_count << 16)
+ | type);
}
/**