projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c92701
)
vk/meta: Add a better comment about the VS for blits
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 May 2015 18:39:32 +0000
(11:39 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 May 2015 18:39:32 +0000
(11:39 -0700)
src/vulkan/meta.c
patch
|
blob
|
history
diff --git
a/src/vulkan/meta.c
b/src/vulkan/meta.c
index 5973013a5b80d5548055aeb33f850e9a682031c0..e225da75b243afd90eec746dbca393a5a79d7bf6 100644
(file)
--- a/
src/vulkan/meta.c
+++ b/
src/vulkan/meta.c
@@
-296,7
+296,9
@@
anv_device_init_meta_blit_state(struct anv_device *device)
};
/* We don't use a vertex shader for clearing, but instead build and pass
- * the VUEs directly to the rasterization backend.
+ * the VUEs directly to the rasterization backend. However, we do need
+ * to provide GLSL source for the vertex shader so that the compiler
+ * does not dead-code our inputs.
*/
static const char vs_source[] = GLSL(
in vec2 a_pos;