vk/meta: Add a better comment about the VS for blits

This commit is contained in:
Jason Ekstrand 2015-05-14 11:39:32 -07:00
parent 8c92701a69
commit 018a0c1741

View file

@ -296,7 +296,9 @@ anv_device_init_meta_blit_state(struct anv_device *device)
};
/* We don't use a vertex shader for clearing, but instead build and pass
* the VUEs directly to the rasterization backend.
* the VUEs directly to the rasterization backend. However, we do need
* to provide GLSL source for the vertex shader so that the compiler
* does not dead-code our inputs.
*/
static const char vs_source[] = GLSL(
in vec2 a_pos;