vulkan: Align vertex data
authorBenjamin Otte <otte@redhat.com>
Thu, 18 May 2023 21:22:25 +0000 (23:22 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 4 Jun 2023 17:42:01 +0000 (19:42 +0200)
commit0e93ad867166b0ad22e50cbb5b41346be782c47c
tree14e1333fcac777cf316ca5089a866dc673a963c8
parentd98991a0adb8ba2d7c0669fa3404e33fc4391da9
vulkan: Align vertex data

We align the data to a multiple of vertex stride, that way we use more
memory, but we could compute an offset into the vertex buffer without
changing the offset.
gsk/vulkan/gskvulkanrenderpass.c