From 203bd3e8ecf923bba3733b5ebe861c5700ffcb79 Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Sat, 12 Mar 2005 10:14:09 +0000 Subject: Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes. --- src/mesa/drivers/dri/r300/r300_emit.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/r300/r300_emit.h') diff --git a/src/mesa/drivers/dri/r300/r300_emit.h b/src/mesa/drivers/dri/r300/r300_emit.h index eb2a913f1cd..6085ccf0004 100644 --- a/src/mesa/drivers/dri/r300/r300_emit.h +++ b/src/mesa/drivers/dri/r300/r300_emit.h @@ -200,13 +200,14 @@ static __inline__ uint32_t cmdpacify(void) } /* must be sent to switch to 2d commands */ +/* void static inline end_3d(PREFIX_VOID) { LOCAL_VARS (void)cmd_reserved; (void)cmd_written; cmd=(drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, \ - 0, \ + 0, \ // ??! __FUNCTION__); \ cmd[0].header.cmd_type=R300_CMD_END3D; @@ -218,11 +219,12 @@ LOCAL_VARS (void)cmd_reserved; (void)cmd_written; cmd=(drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, \ - 0, \ + 0, \ // ??! __FUNCTION__); \ cmd[0].i=cmdcpdelay(count); } +*/ /* fire vertex buffer */ static void inline fire_AOS(PREFIX int vertex_count, int type) -- cgit v1.2.3