mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
intel/compiler: Verify SIMD16 is used for xe2 BTD/RT dispatch
Ref: HSD 14011192593 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27529>
This commit is contained in:
parent
820e04ead4
commit
c6e855b64b
1 changed files with 2 additions and 0 deletions
|
|
@ -1666,6 +1666,7 @@ brw_btd_spawn_desc(ASSERTED const struct intel_device_info *devinfo,
|
|||
unsigned exec_size, unsigned msg_type)
|
||||
{
|
||||
assert(devinfo->has_ray_tracing);
|
||||
assert(devinfo->ver < 20 || exec_size == 16);
|
||||
|
||||
return SET_BITS(0, 19, 19) | /* No header */
|
||||
SET_BITS(msg_type, 17, 14) |
|
||||
|
|
@ -1691,6 +1692,7 @@ brw_rt_trace_ray_desc(ASSERTED const struct intel_device_info *devinfo,
|
|||
unsigned exec_size)
|
||||
{
|
||||
assert(devinfo->has_ray_tracing);
|
||||
assert(devinfo->ver < 20 || exec_size == 16);
|
||||
|
||||
return SET_BITS(0, 19, 19) | /* No header */
|
||||
SET_BITS(0, 17, 14) | /* Message type */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue