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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user