Skip to content
Snippets Groups Projects
Commit 6a50fc43 authored by Vladimir Dergachev's avatar Vladimir Dergachev
Browse files

Use R300_CMD_END3D for end_3d().

parent c6cca6a3
No related branches found
No related tags found
No related merge requests found
......@@ -136,5 +136,17 @@ static __inline__ uint32_t cmdvpu(int addr, int count)
cmd_written=1; \
cmd[0].i=cmdvpu((dest), _n/4); \
}
/* must be sent to switch to 2d commands */
void static inline end_3d(PREFIX_VOID)
{
LOCAL_VARS
cmd=(drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, \
0, \
__FUNCTION__); \
cmd[0].header.cmd_type=R300_CMD_END3D;
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment