diff options
Diffstat (limited to 'src/intel/compiler/brw_vec4.cpp')
-rw-r--r-- | src/intel/compiler/brw_vec4.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_vec4.cpp b/src/intel/compiler/brw_vec4.cpp index d7c09093032..adbd85036e0 100644 --- a/src/intel/compiler/brw_vec4.cpp +++ b/src/intel/compiler/brw_vec4.cpp @@ -2115,6 +2115,16 @@ get_lowered_simd_width(const struct gen_device_info *devinfo, } } + /* IvyBridge can manage a maximum of 4 DFs per SIMD4x2 instruction, since + * it doesn't support compression in Align16 mode, no matter if it has + * force_writemask_all enabled or disabled (the latter is affected by the + * compressed instruction bug in gen7, which is another reason to enforce + * this limit). + */ + if (devinfo->gen == 7 && !devinfo->is_haswell && + (get_exec_type_size(inst) == 8 || type_sz(inst->dst.type) == 8)) + lowered_width = MIN2(lowered_width, 4); + return lowered_width; } |