About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/frygon/vulkan/fgvk_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frygon/vulkan/fgvk_format.c')
-rw-r--r--src/frygon/vulkan/fgvk_format.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/frygon/vulkan/fgvk_format.c b/src/frygon/vulkan/fgvk_format.c
new file mode 100644
index 00000000000..08a5a15e963
--- /dev/null
+++ b/src/frygon/vulkan/fgvk_format.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2025 Lucas Francisco Fryzek
+ * SPDX-License-Identifier: MIT
+ */
+#include "fgvk_format.h"
+
+#include "fgvk_physical_device.h"
+
+VKAPI_ATTR void VKAPI_CALL
+fgvk_GetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice,
+ VkFormat format,
+ VkFormatProperties2 *pFormatProperties)
+{
+ VK_FROM_HANDLE(fgvk_physical_device, pdevice, physicalDevice);
+
+ pFormatProperties->formatProperties = (VkFormatProperties) {
+ .linearTilingFeatures = 0,
+ .optimalTilingFeatures = 0,
+ .bufferFeatures = 0,
+ };
+}