i965/vs: Do legacy clip lowering earlier
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 7 Jul 2013 16:21:08 +0000 (04:21 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 15 Aug 2013 19:21:37 +0000 (07:21 +1200)
commit972e2f11c073e71d4c57b005ae1f906d96714849
treedf439f79689dfe40a425c4a949e14880a68ecc81
parent9e07a68cade6c75385cd52ca1f3e34d65a45fb31
i965/vs: Do legacy clip lowering earlier

We need to produce clip flags for the vertex header on Gen4/5, so
clip plane lowering has to be done before we try to emit the flags/psiz
attribute.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp