anv: Pass the right pipe_state to flush_descriptor_sets()
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 3 Mar 2020 20:23:31 +0000 (12:23 -0800)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 12 Mar 2020 20:18:54 +0000 (13:18 -0700)
commiteec04c0aae3f6dce9ac35bbe9d75fa81460c74c8
tree4b6dc783c14ea224942cc8cc6290df7e14ada959
parent88df3bf79ae96b0f03332828125c9e2dc653494d
anv: Pass the right pipe_state to flush_descriptor_sets()

The caller has this information, so pass directly instead of making
each helper function call figure that one out.  Also, since we can
reach the pipeline from pipe_state, drop that parameter from the
function.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4040>
src/intel/vulkan/genX_cmd_buffer.c