i965/vs: Refactor min/max handling to share code.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Oct 2012 17:45:08 +0000 (10:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Nov 2012 21:29:21 +0000 (14:29 -0700)
commit1f0093720de41ca23c408f11784fcc39d58271d2
treefb05217196eeacfc636d3a1f76f86ce0150b331a
parentfd8655aa7a78f3ded44e9dee572f17309a44a945
i965/vs: Refactor min/max handling to share code.

v2: Properly use "conditionalmod" pre-Gen6, rather than the incorrectly
copy-and-pasted "BRW_CONDITIONAL_G".

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp