mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
intel/brw: Don't mention gfx7 limitations in shuffle comments
We don't support gfx7 here anymore, so we needn't consider it. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28458>
This commit is contained in:
parent
1d9e2b761a
commit
e3d12cf72f
1 changed files with 5 additions and 6 deletions
|
|
@ -432,12 +432,11 @@ fs_generator::generate_shuffle(fs_inst *inst,
|
|||
src.type = dst.type = brw_reg_type_from_bit_size(type_sz(src.type) * 8,
|
||||
BRW_REGISTER_TYPE_UD);
|
||||
|
||||
/* Because we're using the address register, we're limited to 8-wide
|
||||
* execution on gfx7. On gfx8, we're limited to 16-wide by the address
|
||||
* register file and 8-wide for 64-bit types. We could try and make this
|
||||
* instruction splittable higher up in the compiler but that gets weird
|
||||
* because it reads all of the channels regardless of execution size. It's
|
||||
* easier just to split it here.
|
||||
/* Because we're using the address register, we're limited to 16-wide
|
||||
* by the address register file and 8-wide for 64-bit types. We could try
|
||||
* and make this instruction splittable higher up in the compiler but that
|
||||
* gets weird because it reads all of the channels regardless of execution
|
||||
* size. It's easier just to split it here.
|
||||
*/
|
||||
const unsigned lower_width =
|
||||
element_sz(src) > 4 || element_sz(dst) > 4 ? 8 :
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue