turnip: Refactor the graphics pipeline create implementation.
authorEric Anholt <eric@anholt.net>
Wed, 27 Nov 2019 00:42:24 +0000 (16:42 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 5 Dec 2019 04:32:15 +0000 (20:32 -0800)
commit70d6428be5f4dc5545191059474804d21c6bdbac
treef279e8b07adb89b217e899a049934ed980f8f733
parente46da7dbeae4b1138fc9e0db7a144d8edbed50e5
turnip: Refactor the graphics pipeline create implementation.

The loop over the pipelines to create (and the failure handling) was
noisy, and the stub for compute setup looked nicer to me.

Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/freedreno/vulkan/tu_pipeline.c