diff options
author | Benjamin Otte <otte@redhat.com> | 2023-05-13 01:48:51 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2023-05-17 02:25:32 +0200 |
commit | f28926fadd8770d76a91d44131e9c038bca16353 (patch) | |
tree | 3868b809f19c50fdc1ecd7c72f6bf5e280bf9bd1 | |
parent | 9163f3e5030418741d792fe4187f7c762e818ac4 (diff) | |
download | gtk+-f28926fadd8770d76a91d44131e9c038bca16353.tar.gz |
xxx debug-printf
Doesn't work yet, booo!
-rw-r--r-- | gdk/gdkvulkancontext.c | 1 | ||||
-rw-r--r-- | gsk/vulkan/resources/color.frag | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index eb9b8ad83a..41e2741c38 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -1053,6 +1053,7 @@ gdk_display_create_vulkan_device (GdkDisplay *display, device_extensions = g_ptr_array_new (); g_ptr_array_add (device_extensions, (gpointer) VK_KHR_SWAPCHAIN_EXTENSION_NAME); + g_ptr_array_add (device_extensions, (gpointer) VK_KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME); if (has_incremental_present) g_ptr_array_add (device_extensions, (gpointer) VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME); diff --git a/gsk/vulkan/resources/color.frag b/gsk/vulkan/resources/color.frag index e0371362a1..1d1d576fec 100644 --- a/gsk/vulkan/resources/color.frag +++ b/gsk/vulkan/resources/color.frag @@ -1,4 +1,5 @@ -#version 420 core +#version 450 +#extension GL_EXT_debug_printf : enable #include "clip.frag.glsl" #include "rect.frag.glsl" |