r600: use a macro to remove common shader selection code.
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 01:12:07 +0000 (11:12 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Dec 2015 23:58:59 +0000 (09:58 +1000)
commit3a7232a9a9ef9823a3581f0e02f732ca0e134638
treece0dc8566f259d0366f868a1c036b8f10ddb5efc
parent19799a59281ea01d47681cd9b04514fc5b96b74d
r600: use a macro to remove common shader selection code.

This function is going to get a lot messier with tessellation
so I'm going to use some macros to try and clean some bits
of common code up.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_state_common.c