vk/meta: Use texture() instead of texture2D()
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 May 2015 19:43:13 +0000 (12:43 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 May 2015 19:44:35 +0000 (12:44 -0700)
src/vulkan/meta.c

index 7be8a5116557662f282b716f24c1a4b5587bf081..979655cb4823d7f3ab1705784de4a6c374fcb969 100644 (file)
@@ -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);
       }
    );