vk: Always use a placeholder vertex shader in meta
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Fri, 21 Aug 2015 05:32:28 +0000 (22:32 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 24 Aug 2015 20:45:41 +0000 (13:45 -0700)
commit615da3795a76e7f18e518d2c896613c3f9c04d27
tree0f1fd474eac6cc06abb911423aeaa864b6bff2d2
parentac738ada7a319c202b59ad6beb878e04d2e7a2ac
vk: Always use a placeholder vertex shader in meta

The clear pipeline didn't have a vertex shader and relied on the clear
shader being hardcoded by the compiler to accept one attribute. This
necessitated a few special cases in the 3DSTATE_VS setup. Instead,
always provide a vertex shader, even if we disable VS dispatch.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_meta.c
src/vulkan/gen8_pipeline.c