anv: Remove redundant check in flush_descriptor_sets() helpers
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 3 Mar 2020 20:40:37 +0000 (12:40 -0800)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 12 Mar 2020 20:18:54 +0000 (13:18 -0700)
commitd1c13f01aa8f231cd377506b3932e6300f429b79
tree4203bbd9727ca190ed24117f80b2f47b8e480207
parenteec04c0aae3f6dce9ac35bbe9d75fa81460c74c8
anv: Remove redundant check in flush_descriptor_sets() helpers

These helpers are only called for stages that are active, so the code
for a non-active stage is never executed.

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