do { \
int _n; \
_n=(num_extra); \
- cmd = r300AllocCmdBuf(rmesa, \
- (_n+2), \
- __FUNCTION__); \
+ cmd = (drm_radeon_cmd_header_t*) \
+ r300AllocCmdBuf(rmesa, \
+ (_n+2), \
+ __func__); \
cmd_reserved=_n+2; \
cmd_written=1; \
cmd[0].i=cmdpacket0((reg), _n+1); \
do { \
int _n; \
_n = (length); \
- cmd = r300AllocCmdBuf(rmesa, \
- (_n+1), \
- __FUNCTION__); \
+ cmd = (drm_radeon_cmd_header_t*) \
+ r300AllocCmdBuf(rmesa, \
+ (_n+1), \
+ __func__); \
cmd_reserved = _n+2; \
cmd_written =1; \
cmd[0].i = cmdvpu((dest), _n/4); \
GLuint _p; \
_n = (count); \
_p = (packet); \
- cmd = r300AllocCmdBuf(rmesa, \
- (_n+3), \
- __FUNCTION__); \
+ cmd = (drm_radeon_cmd_header_t*) \
+ r300AllocCmdBuf(rmesa, \
+ (_n+3), \
+ __func__); \
cmd_reserved = _n+3; \
cmd_written = 2; \
if(_n > 0x3fff) { \