mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
intel/compiler: Adjust assertion in lower_get_buffer_size() for Xe2
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26639>
This commit is contained in:
parent
f8e583d537
commit
c426553658
1 changed files with 1 additions and 1 deletions
|
|
@ -2996,7 +2996,7 @@ lower_get_buffer_size(const fs_builder &bld, fs_inst *inst)
|
|||
/* Since we can only execute this instruction on uniform bti/surface
|
||||
* handles, brw_fs_nir.cpp should already have limited this to SIMD8.
|
||||
*/
|
||||
assert(inst->exec_size == 8);
|
||||
assert(inst->exec_size == (devinfo->ver < 20 ? 8 : 16));
|
||||
|
||||
fs_reg surface = inst->src[GET_BUFFER_SIZE_SRC_SURFACE];
|
||||
fs_reg surface_handle = inst->src[GET_BUFFER_SIZE_SRC_SURFACE_HANDLE];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue