intel/mi_builder: Return an address from __gen_get_batch_address

While we're here, add __gen_get_batch_address declarations to more files
because we're about to start requiring it on all GFX 12.5+.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9445>
This commit is contained in:
Jason Ekstrand
2021-02-23 23:21:20 -06:00
parent 322fba216b
commit 8525ebe6e3
4 changed files with 11 additions and 3 deletions

View File

@@ -61,6 +61,12 @@ __gen_combine_address(struct iris_batch *batch, void *location,
return result;
}
static inline struct iris_address
__gen_get_batch_address(struct iris_batch *batch, void *location)
{
unreachable("Not supported by iris");
}
#define __gen_address_type struct iris_address
#define __gen_user_data struct iris_batch