summaryrefslogtreecommitdiff
path: root/gsk/vulkan
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-11 22:55:37 -0400
committerTimm Bäder <mail@baedert.org>2020-09-18 15:38:55 +0200
commit0c6226c20b2b3dcf3bc77595edcd28b0d4626dfb (patch)
tree0a88574f105476f8c3185ec563b76635689be2b6 /gsk/vulkan
parent9267f705ef115716128c7afabcf080728f6b70a6 (diff)
downloadgtk+-0c6226c20b2b3dcf3bc77595edcd28b0d4626dfb.tar.gz
gsk: Add a radial gradient node
Only a fallback implementation for now. Fixes #2262
Diffstat (limited to 'gsk/vulkan')
-rw-r--r--gsk/vulkan/gskvulkanrenderpass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/vulkan/gskvulkanrenderpass.c b/gsk/vulkan/gskvulkanrenderpass.c
index 51ed812ce7..2ea547881c 100644
--- a/gsk/vulkan/gskvulkanrenderpass.c
+++ b/gsk/vulkan/gskvulkanrenderpass.c
@@ -257,6 +257,8 @@ gsk_vulkan_render_pass_add_node (GskVulkanRenderPass *self,
g_assert_not_reached ();
return;
case GSK_SHADOW_NODE:
+ case GSK_RADIAL_GRADIENT_NODE:
+ case GSK_REPEATING_RADIAL_GRADIENT_NODE:
default:
FALLBACK ("Unsupported node '%s'", g_type_name_from_instance ((GTypeInstance *) node));