mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
vk/meta: Add a better comment about the VS for blits
This commit is contained in:
parent
8c92701a69
commit
018a0c1741
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue