From: Anuj Phogat Date: Tue, 27 Jun 2017 22:16:35 +0000 (-0700) Subject: intel/compiler: Don't use opt_sampler_eot() optimization on gen10+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a56c5f3f1396bec0ebe5213388fc5c2657fcc4a;p=mesa.git intel/compiler: Don't use opt_sampler_eot() optimization on gen10+ This optimization has been removed on gen10+. Signed-off-by: Anuj Phogat Reviewed-by: Lionel Landwerlin --- diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 43b6e342043..a2a99b72096 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