r300: Indented r300_emit.h.
authorOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 02:52:37 +0000 (02:52 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 02:52:37 +0000 (02:52 +0000)
src/mesa/drivers/dri/r300/r300_emit.h

index 16ea2c66419b4ffe0fb706d705ce469fe0817b75..90c2b8c1419c42f8f32a2f54c186b3d97c74ec8b 100644 (file)
@@ -208,28 +208,28 @@ void static inline end_3d(r300ContextPtr rmesa)
 {
        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);
 }
@@ -237,7 +237,8 @@ void static inline cp_wait(r300ContextPtr rmesa, unsigned char 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;
@@ -248,8 +249,8 @@ static void inline fire_AOS(r300ContextPtr rmesa, int vertex_count, int type)
 #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);
 }
 
 /**