freedreno/a6xx: Share shader state constructor and destructor
authorKristian H. Kristensen <hoegsberg@google.com>
Mon, 10 Jun 2019 19:04:21 +0000 (12:04 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Wed, 18 Sep 2019 23:59:10 +0000 (16:59 -0700)
commit1cb9534434cdce4378eac4baedaf99ee466b2936
tree7c390764b2bb0088ac1ef72fa97fa3a60a25abbd
parentbe38480064a78c4a4391f87e45f7dd78dc88edce
freedreno/a6xx: Share shader state constructor and destructor

Also, swap vs and fs constructor or so fs comes first.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c
src/gallium/drivers/freedreno/a5xx/fd5_program.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/gallium/drivers/freedreno/ir3/ir3_gallium.c
src/gallium/drivers/freedreno/ir3/ir3_gallium.h