anv: Always emit at least one vertex element
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Jan 2019 23:35:19 +0000 (17:35 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Jan 2019 16:42:56 +0000 (10:42 -0600)
commitb4eae8444e0a7c61bd7013e397e351e3b3965a49
tree099ee313e7fced40def6cdeca9852a4a5efee1af
parent610f956fdead37da49ee2857a2261c3dfd8fc3cd
anv: Always emit at least one vertex element

This seems to make the simulator happier.  The early return wasn't
really protecting anything and the code that follows will happily
initialize the dummy element to STORE_0 and emit it.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/genX_pipeline.c