[Mesa-dev] [PATCH 2/2] prog_optimize: Add simplify CMP optimization pass

Brian Paul brianp at vmware.com
Tue Apr 5 08:03:04 PDT 2011


On 04/05/2011 12:20 AM, Tom Stellard wrote:
> This pass removes conditions from conditional assignments when possible.
> This pass is useful for hardware that requires a lot of lowering passes
> that generate many CMP instructions.
> ---
>   src/mesa/program/prog_optimize.c |   87 ++++++++++++++++++++++++++++++++++++++
>   1 files changed, 87 insertions(+), 0 deletions(-)

Looks OK to me, but Ian should probably take another look.

-Brian



More information about the mesa-dev mailing list