From: Francisco Jerez <curroje...@riseup.net> Change-Id: I7ead239b57bf959a25de5d591dfecfa0e672ea8c --- src/intel/compiler/brw_fs_reg_allocate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_fs_reg_allocate.cpp b/src/intel/compiler/brw_fs_reg_allocate.cpp index ec8e116..8201eab 100644 --- a/src/intel/compiler/brw_fs_reg_allocate.cpp +++ b/src/intel/compiler/brw_fs_reg_allocate.cpp @@ -613,7 +613,7 @@ fs_visitor::assign_regs(bool allow_spilling, bool spill_all) * We could just do "something high". Instead, we just pick the * highest register that works. */ - if (inst->eot) { + if (inst->eot && inst->src[0].file == VGRF) { int size = alloc.sizes[inst->src[0].nr]; int reg = compiler->fs_reg_sets[rsi].class_to_ra_reg_range[size] - 1; -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev