anv/meta: Pass the depth through the clear vertex shader

It shouldn't matter since we shut off the VS but it's at least clearer.
This commit is contained in:
Jason Ekstrand
2015-09-17 16:28:42 -07:00
parent 3b8aa26b8e
commit d616493953
+2 -2
View File
@@ -39,13 +39,13 @@ anv_device_init_meta_clear_state(struct anv_device *device)
* does not dead-code our inputs.
*/
VkShaderModule vsm = GLSL_VK_SHADER_MODULE(device, VERTEX,
in vec2 a_pos;
in vec3 a_pos;
in vec4 a_color;
flat out vec4 v_color;
void main()
{
v_color = a_color;
gl_Position = vec4(a_pos, 0, 1);
gl_Position = vec4(a_pos, 1);
}
);