mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 14:10:09 +01:00
Use R300_CMD_END3D for end_3d().
This commit is contained in:
parent
c6cca6a3b8
commit
6a50fc43cb
1 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue