#include "genxml/gen_macros.h"
-#define __gen_address_type struct blorp_address
-#define __gen_user_data struct blorp_batch
-
static uint64_t
-__gen_combine_address(struct blorp_batch *batch, void *location,
- struct blorp_address address, uint32_t delta)
+_blorp_combine_address(struct blorp_batch *batch, void *location,
+ struct blorp_address address, uint32_t delta)
{
if (address.buffer == NULL) {
return address.offset + delta;
}
}
+#define __gen_address_type struct blorp_address
+#define __gen_user_data struct blorp_batch
+#define __gen_combine_address _blorp_combine_address
+
#include "genxml/genX_pack.h"
#define _blorp_cmd_length(cmd) cmd ## _length