mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 09:30:29 +01:00
intel/brw/xe2+: Double allowed SIMD width of FB write SEND messages.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28306>
This commit is contained in:
parent
d96bfb160f
commit
efc0601ddf
1 changed files with 9 additions and 3 deletions
|
|
@ -315,9 +315,15 @@ brw_fs_get_lowered_simd_width(const fs_visitor *shader, const fs_inst *inst)
|
|||
return devinfo->ver >= 20 ? 16 : 8;
|
||||
|
||||
case FS_OPCODE_FB_WRITE_LOGICAL:
|
||||
/* Dual-source FB writes are unsupported in SIMD16 mode. */
|
||||
return (inst->src[FB_WRITE_LOGICAL_SRC_COLOR1].file != BAD_FILE ?
|
||||
8 : MIN2(16, inst->exec_size));
|
||||
if (devinfo->ver >= 20) {
|
||||
/* Dual-source FB writes are unsupported in SIMD32 mode. */
|
||||
return (inst->src[FB_WRITE_LOGICAL_SRC_COLOR1].file != BAD_FILE ?
|
||||
16 : MIN2(32, inst->exec_size));
|
||||
} else {
|
||||
/* Dual-source FB writes are unsupported in SIMD16 mode. */
|
||||
return (inst->src[FB_WRITE_LOGICAL_SRC_COLOR1].file != BAD_FILE ?
|
||||
8 : MIN2(16, inst->exec_size));
|
||||
}
|
||||
|
||||
case FS_OPCODE_FB_READ_LOGICAL:
|
||||
return MIN2(16, inst->exec_size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue