From: Jason Ekstrand Date: Thu, 17 Sep 2015 23:28:42 +0000 (-0700) Subject: anv/meta: Pass the depth through the clear vertex shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d616493953da7e349967a78c6fc671d35c1b788e;p=mesa.git 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. --- diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c index aa48b978427..4f70e573008 100644 --- a/src/vulkan/anv_meta.c +++ b/src/vulkan/anv_meta.c @@ -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); } );