vulkan: Add a static assert
authorBenjamin Otte <otte@redhat.com>
Wed, 10 May 2023 15:55:56 +0000 (17:55 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 4 Jun 2023 17:42:01 +0000 (19:42 +0200)
commitc479f93372e8b40feb21e0f5da9aab86200c2be1
tree973e25d836b03839791db626d8306727d8976c98
parent186e056c563c7aa5fd6ff42347c6e5ddf01f8205
vulkan: Add a static assert

We don't want to make the push constants larger than what the spec
guarantees. And that is 128 bytes, see value for
maxPushConstantsSize in table 55 of
https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#limits-minmax
gsk/vulkan/gskvulkanpushconstants.c