summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_emit.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-03-12 10:14:09 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-03-12 10:14:09 +0000
commit203bd3e8ecf923bba3733b5ebe861c5700ffcb79 (patch)
tree2b68dba3fb7933f016a344860afd8743ebbc17d0 /src/mesa/drivers/dri/r300/r300_emit.h
parent91c219d9063bf7d3a181ee0b289c68b4a68f3db6 (diff)
Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_emit.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_emit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_emit.h b/src/mesa/drivers/dri/r300/r300_emit.h
index eb2a913f1c..6085ccf000 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)