vulkan: Add a glyph shader
authorBenjamin Otte <otte@redhat.com>
Mon, 3 Jul 2023 05:53:22 +0000 (07:53 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 16 Jul 2023 10:12:59 +0000 (12:12 +0200)
commit2d6ebbb4d51ce185d75f9ac4ddc13c439a5205b7
treea5926a6c0f0923cf44a925a10be984b1039204c0
parentefa4cae94922e9de4283405c14ee95712735b52f
vulkan: Add a glyph shader

This shader is an updated version of the mask shader, but I want to use
the mask name for the mask node and that's a different functionality.

Also, add an operation for it and partially implement the mask node
using it, so we can test that this shader works.

Replacing the shader used for text rendering is the next step.
13 files changed:
gsk/meson.build
gsk/vulkan/gskvulkanglyphop.c [new file with mode: 0644]
gsk/vulkan/gskvulkanglyphopprivate.h [new file with mode: 0644]
gsk/vulkan/gskvulkanrenderpass.c
gsk/vulkan/resources/glyph-clip-rounded.frag.spv [new file with mode: 0644]
gsk/vulkan/resources/glyph-clip-rounded.vert.spv [new file with mode: 0644]
gsk/vulkan/resources/glyph-clip.frag.spv [new file with mode: 0644]
gsk/vulkan/resources/glyph-clip.vert.spv [new file with mode: 0644]
gsk/vulkan/resources/glyph.frag [new file with mode: 0644]
gsk/vulkan/resources/glyph.frag.spv [new file with mode: 0644]
gsk/vulkan/resources/glyph.vert [new file with mode: 0644]
gsk/vulkan/resources/glyph.vert.spv [new file with mode: 0644]
gsk/vulkan/resources/meson.build