mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
vk/meta: Use texture() instead of texture2D()
This commit is contained in:
parent
edff076188
commit
d7044a19b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue