radeonsi: unify shader create functions
authorMarek Olšák <marek.olsak@amd.com>
Thu, 8 Oct 2015 23:14:12 +0000 (01:14 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 17 Oct 2015 19:40:03 +0000 (21:40 +0200)
commit938a1bee34cc8e0c22a9b99c6b3d247b88e94cc2
tree1be7eabff47dc5f6edf9f713d4a404a9386d872e
parentb0167809f1e88f3676db78b1c1934aea35e55be5
radeonsi: unify shader create functions

The shader specifies the processor type, so use that instead.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c