diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 02d8f56a6a1..1fdf6f05b5f 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -911,7 +911,7 @@ fs_inst::size_read(int arg) const break; default: - if (is_tex() && arg == 0 && src[0].file == VGRF) + if (arg == 0 && src[0].file == VGRF && is_tex()) return mlen * REG_SIZE; break; }