projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edff076
)
vk/meta: Use texture() instead of texture2D()
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 19 May 2015 19:43:13 +0000
(12:43 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 19 May 2015 19:44:35 +0000
(12:44 -0700)
src/vulkan/meta.c
patch
|
blob
|
history
diff --git
a/src/vulkan/meta.c
b/src/vulkan/meta.c
index 7be8a5116557662f282b716f24c1a4b5587bf081..979655cb4823d7f3ab1705784de4a6c374fcb969 100644
(file)
--- 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 = texture
2D
(u_tex, v_tex_coord.xy);
+ f_color = texture(u_tex, v_tex_coord.xy);
}
);