gtk/gsk/vulkan/resources
Benjamin Otte 17698bfd2e vulkan: Use 3 descriptor sets, not 3 bindings
It turns out variable length is only supported for the last binding in
a set, not for every binding.
So we need to create one set for each of our arrays.

[ VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-pBindingFlags-03004 ] Object 0: handle = 0x33a9f10, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xd3f353a | vkCreateDescriptorSetLayout(): pBindings[0] has VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT but 0 is the largest value of all the bindings. The Vulkan spec states: If an element of pBindingFlags includes VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT, then all other elements of VkDescriptorSetLayoutCreateInfo::pBindings must have a smaller value of binding (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-pBindingFlags-03004)
2023-06-20 20:15:12 +02:00
..
blendmode-clip-rounded.frag.spv
blendmode-clip-rounded.vert.spv
blendmode-clip.frag.spv
blendmode-clip.vert.spv
blendmode-rect-rounded.frag.spv
blendmode-rect.frag.spv
blendmode.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
blendmode.frag.spv
blendmode.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
blendmode.vert.spv
blur-clip-rounded.frag.spv
blur-clip-rounded.vert.spv
blur-clip.frag.spv
blur-clip.vert.spv
blur.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
blur.frag.spv
blur.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
blur.vert.spv
border-clip-rounded.frag.spv
border-clip-rounded.vert.spv
border-clip.frag.spv
border-clip.vert.spv
border.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
border.frag.spv
border.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
border.vert.spv
clip.frag.glsl vulkan: Rewrite AA shaders to respect scale 2023-06-04 19:42:01 +02:00
clip.vert.glsl vulkan: Make border shader handle fractional widths 2023-06-04 19:42:00 +02:00
color-clip-rounded.frag.spv
color-clip-rounded.vert.spv
color-clip.frag.spv
color-clip.vert.spv
color-matrix-clip-rounded.frag.spv
color-matrix-clip-rounded.vert.spv
color-matrix-clip.frag.spv
color-matrix-clip.vert.spv
color-matrix.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
color-matrix.frag.spv
color-matrix.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
color-matrix.vert.spv
color.frag vulkan: Rewrite AA shaders to respect scale 2023-06-04 19:42:01 +02:00
color.frag.spv
color.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
color.vert.spv
common.frag.glsl vulkan: Use 3 descriptor sets, not 3 bindings 2023-06-20 20:15:12 +02:00
common.vert.glsl vulkan: Split generic code off 2023-06-04 19:42:01 +02:00
constants.glsl vulkan: Add scale to push constants 2023-06-04 19:42:01 +02:00
crossfade-clip-rounded.frag.spv
crossfade-clip-rounded.vert.spv
crossfade-clip.frag.spv
crossfade-clip.vert.spv
crossfade-rect.vert.spv
crossfade.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
crossfade.frag.spv
crossfade.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
crossfade.vert.spv
ellipse.glsl vulkan: Rewrite rounded rectangle to use SDF distance 2023-06-04 19:42:00 +02:00
inset-shadow-clip-rounded.frag.spv
inset-shadow-clip-rounded.vert.spv
inset-shadow-clip.frag.spv
inset-shadow-clip.vert.spv
inset-shadow.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
inset-shadow.frag.spv
inset-shadow.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
inset-shadow.vert.spv
linear-clip-rounded.frag.spv
linear-clip-rounded.vert.spv
linear-clip.frag.spv
linear-clip.vert.spv
linear.frag vulkan: Antialiasing for linear gradients 2023-06-08 22:16:18 +02:00
linear.frag.spv
linear.vert vulkan: Remove unused declaration from shader 2023-06-20 20:15:12 +02:00
linear.vert.spv
mask-clip-rounded.frag.spv
mask-clip-rounded.vert.spv
mask-clip.frag.spv
mask-clip.vert.spv
mask.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
mask.frag.spv
mask.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
mask.vert.spv
meson.build vulkan: Implement bindless texture rendering 2023-06-04 19:42:01 +02:00
outset-shadow-clip-rounded.frag.spv
outset-shadow-clip-rounded.vert.spv
outset-shadow-clip.frag.spv
outset-shadow-clip.vert.spv
outset-shadow.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
outset-shadow.frag.spv
outset-shadow.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
outset-shadow.vert.spv
rect.frag.glsl vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
rect.glsl vulkan: Rewrite AA shaders to respect scale 2023-06-04 19:42:01 +02:00
rect.vert.glsl vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
rounded-rect.frag.glsl vulkan: Rewrite rounded rectangle to use SDF distance 2023-06-04 19:42:00 +02:00
rounded-rect.glsl vulkan: Rewrite AA shaders to respect scale 2023-06-04 19:42:01 +02:00
texture-clip-rounded.frag.spv
texture-clip-rounded.vert.spv
texture-clip.frag.spv
texture-clip.vert.spv
texture.frag vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
texture.frag.spv
texture.vert vulkan: Switch GLSL version to 450 2023-06-08 21:53:06 +02:00
texture.vert.spv