From: Kevin Rogovin <[email protected]>
Change-Id: I1534c82cdd9c410ce83f7b185dc235569cc3cb3d
---
src/intel/compiler/brw_fs.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 5f35a58..b4eb012 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -5100,7 +5100,8 @@ get_fpu_lowered_simd_width(const struct gen_device_info
*devinfo,
type_sz(inst->src[i].type) == 2 && inst->src[i].stride == 1;
if (inst->size_written > REG_SIZE &&
- inst->size_read(i) != 0 && inst->size_read(i) <= REG_SIZE &&
+ inst->size_read(i) != 0 &&
+ inst->size_read(i) != inst->size_written &&
!is_scalar_exception && !is_packed_word_exception) {
const unsigned reg_count = DIV_ROUND_UP(inst->size_written,
REG_SIZE);
max_width = MIN2(max_width, inst->exec_size / reg_count);
--
2.7.4
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev