Mesa (master): intel/compiler: Don't use opt_sampler_eot() optimization on gen10+
Anuj Phogat
aphogat at kemper.freedesktop.org
Wed Jul 12 18:33:41 UTC 2017
Module: Mesa
Branch: master
Commit: 0a56c5f3f1396bec0ebe5213388fc5c2657fcc4a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a56c5f3f1396bec0ebe5213388fc5c2657fcc4a
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Tue Jun 27 15:16:35 2017 -0700
intel/compiler: Don't use opt_sampler_eot() optimization on gen10+
This optimization has been removed on gen10+.
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/compiler/brw_fs.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 43b6e34204..a2a99b7209 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -2444,7 +2444,7 @@ fs_visitor::opt_sampler_eot()
if (stage != MESA_SHADER_FRAGMENT)
return false;
- if (devinfo->gen < 9 && !devinfo->is_cherryview)
+ if (devinfo->gen != 9 && !devinfo->is_cherryview)
return false;
/* FINISHME: It should be possible to implement this optimization when there
More information about the mesa-commit
mailing list