From d7044a19b1e607defc5c85389d2ed26f5c226e8c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 19 May 2015 12:43:13 -0700 Subject: [PATCH] vk/meta: Use texture() instead of texture2D() --- src/vulkan/meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/meta.c b/src/vulkan/meta.c index 7be8a511655..979655cb482 100644 --- a/src/vulkan/meta.c +++ b/src/vulkan/meta.c @@ -310,7 +310,7 @@ anv_device_init_meta_blit_state(struct anv_device *device) layout(set = 0, binding = 0) uniform sampler2D u_tex; void main() { - f_color = texture2D(u_tex, v_tex_coord.xy); + f_color = texture(u_tex, v_tex_coord.xy); } ); -- 2.30.2