[Mesa-dev] [PATCH 3/9] i965/fs: Get rid of the sel.sat peephole

Matt Turner mattst88 at gmail.com
Thu Mar 17 17:42:20 UTC 2016


On Thu, Mar 17, 2016 at 10:21 AM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> Shader-db results on Broadwell:
>
> total instructions in shared programs: 7517815 -> 7517816 (0.00%)
> instructions in affected programs:     46 -> 47 (2.17%)
> HURT:                                  1
>
> The one hurt shader is a shader from "The Swapper" that writes to
> gl_FrontColor and, as such, gets an implicit sat added to the output write.
> Since this is invisible to NIR, the optimization in the previous commit
> can't fix it for us.
> ---

How could this possibly cause problems? I don't understand why you're
trying to remove it.


More information about the mesa-dev mailing list