llvmpipe: Proper control flow builders.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 10 Sep 2009 10:44:03 +0000 (11:44 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 10 Sep 2009 10:44:03 +0000 (11:44 +0100)
commit8e6b925d2a963a2d5a403e106d7d25e3dcca0775
treed5dcbaf755ce095c1fe11c9452ec56e14fed6a30
parentbd3b59da632d85a062accab267e18b66274b857a
llvmpipe: Proper control flow builders.

New control flow helper functions which keep track of all variables
and generate the correct Phi functions.

This re-enables skipping the fs execution of quads masked out by
the rasterizer, early z testing, and kill opcode.

This yields a performance improvement of around 20%.
src/gallium/drivers/llvmpipe/lp_bld_flow.c
src/gallium/drivers/llvmpipe/lp_bld_flow.h
src/gallium/drivers/llvmpipe/lp_state_fs.c