[Mesa-dev] [PATCH] ir_to_mesa: Don't optimize clamp into saturate when target is GL_VERTEX_PROGRAM_ARB

Matt Turner mattst88 at gmail.com
Thu Nov 27 10:56:01 PST 2014

On Thu, Nov 27, 2014 at 12:45 AM, Abdiel Janulgue
<abdiel.janulgue at linux.intel.com> wrote:
> Add the the same restriction as in the previous try_emit_sat when trying
> to optimize clamp. Fixes an infinite loop in swrast where the lowering
> pass unpacks saturate into clamp but the opt_algebraic pass tries to do
> the opposite.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83463

Did you see Ken's comment in the bug?


More information about the mesa-dev mailing list