From: Jason Ekstrand Date: Tue, 19 May 2015 19:43:13 +0000 (-0700) Subject: vk/meta: Use texture() instead of texture2D() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7044a19b1e607defc5c85389d2ed26f5c226e8c;p=mesa.git vk/meta: Use texture() instead of texture2D() --- 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); } );