anv/cmd_buffer: Refactor flush_pipeline_select_*
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 15 Mar 2017 18:58:53 +0000 (11:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Mar 2017 21:57:09 +0000 (14:57 -0700)
commitf3673db3d61b77415a09ca5d44f976e6fb869ec7
tree0c7b61fd95a1b57b48506f09d9e1bd0ef533b900
parent6baae9625d26d282a72481598f9431fcad3211f6
anv/cmd_buffer: Refactor flush_pipeline_select_*

While having the _3d and _gpgpu versions is nice, there's no reason why
we need to have duplicated logic for tracking the current pipeline.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/vulkan/genX_cmd_buffer.c