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@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Anuj Phogat 2017-06-27 15:16:35 -07:00
parent 84ed8b67c5
commit 0a56c5f3f1
1 changed files with 1 additions and 1 deletions

View File

@ -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