diff options
author | Anuj Phogat <[email protected]> | 2017-06-27 15:16:35 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2017-07-12 11:27:31 -0700 |
commit | 0a56c5f3f1396bec0ebe5213388fc5c2657fcc4a (patch) | |
tree | 5427ed57756311e0a2a79a37779134a050a756ee /src/intel | |
parent | 84ed8b67c56b323cd834d463151e1a3c0430c53e (diff) |
intel/compiler: Don't use opt_sampler_eot() optimization on gen10+
This optimization has been removed on gen10+.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |