mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-21 14:00:33 +01:00
brw: Consider bfloat16 in lower simd width pass
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34105>
This commit is contained in:
parent
2c31516b3e
commit
a7ff177a88
1 changed files with 3 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ get_fpu_lowered_simd_width(const brw_shader *shader,
|
|||
if (inst->is_3src(compiler) && !devinfo->supports_simd16_3src)
|
||||
max_width = MIN2(max_width, inst->exec_size / reg_count);
|
||||
|
||||
if (has_bfloat_operands(inst))
|
||||
max_width = MIN2(max_width, devinfo->ver < 20 ? 8 : 16);
|
||||
|
||||
if (inst->opcode != BRW_OPCODE_MOV) {
|
||||
/* From the SKL PRM, Special Restrictions for Handling Mixed Mode
|
||||
* Float Operations:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue