The fall-back does not work correctly in SIMD16 mode and the register allocator should ensure that we never hit this case anyway. --- src/intel/compiler/brw_fs_generator.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/intel/compiler/brw_fs_generator.cpp b/src/intel/compiler/brw_fs_generator.cpp index 6d5306a..0c050a7 100644 --- a/src/intel/compiler/brw_fs_generator.cpp +++ b/src/intel/compiler/brw_fs_generator.cpp @@ -817,8 +817,14 @@ fs_generator::generate_linterp(fs_inst *inst, } return true; - } else if (devinfo->has_pln && - (devinfo->gen >= 7 || (delta_x.nr & 1) == 0)) { + } else if (devinfo->has_pln) { + /* From the Sandy Bridge PRM Vol. 4, Pt. 2, Section 8.3.53, "Plane": + * + * "[DevSNB]:<src1> must be even register aligned. + * + * This restriction is lifted on Ivy Bridge. + */ + assert(devinfo->gen >= 7 || (delta_x.nr & 1) == 0); brw_PLN(p, dst, interp, delta_x); return false; -- 2.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev