intel/eu: Add a brw_urb_dest_msg_type helper
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5596>
This commit is contained in:
committed by
Marge Bot
parent
2c762955d4
commit
8a0d772dca
@@ -333,6 +333,14 @@ brw_urb_desc(const struct gen_device_info *devinfo,
|
||||
}
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
brw_urb_desc_msg_type(ASSERTED const struct gen_device_info *devinfo,
|
||||
uint32_t desc)
|
||||
{
|
||||
assert(devinfo->gen >= 7);
|
||||
return GET_BITS(desc, 3, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a message descriptor immediate with the specified sampler
|
||||
* function controls.
|
||||
|
||||
Reference in New Issue
Block a user