1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2024-12-14 02:23:55 +01:00
rpi-vk-driver/driver/sparse.c

54 lines
2.1 KiB
C
Raw Normal View History

2019-04-22 15:58:27 +02:00
#include "common.h"
#include "declarations.h"
VKAPI_ATTR void VKAPI_CALL RPIFUNC(vkGetPhysicalDeviceSparseImageFormatProperties)(
2019-04-22 15:58:27 +02:00
VkPhysicalDevice physicalDevice,
VkFormat format,
VkImageType type,
VkSampleCountFlagBits samples,
VkImageUsageFlags usage,
VkImageTiling tiling,
uint32_t* pPropertyCount,
VkSparseImageFormatProperties* pProperties)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkGetPhysicalDeviceSparseImageFormatProperties);
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR void VKAPI_CALL RPIFUNC(vkGetImageSparseMemoryRequirements)(
2019-04-22 15:58:27 +02:00
VkDevice device,
VkImage image,
uint32_t* pSparseMemoryRequirementCount,
VkSparseImageMemoryRequirements* pSparseMemoryRequirements)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkGetImageSparseMemoryRequirements);
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR VkResult VKAPI_CALL RPIFUNC(vkQueueBindSparse)(
2019-04-22 15:58:27 +02:00
VkQueue queue,
uint32_t bindInfoCount,
const VkBindSparseInfo* pBindInfo,
VkFence fence)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkQueueBindSparse);
2020-02-08 20:38:29 +01:00
return UNSUPPORTED_RETURN;
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR void VKAPI_CALL RPIFUNC(vkGetPhysicalDeviceSparseImageFormatProperties2)(
2019-04-22 15:58:27 +02:00
VkPhysicalDevice physicalDevice,
const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo,
uint32_t* pPropertyCount,
VkSparseImageFormatProperties2* pProperties)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkGetPhysicalDeviceSparseImageFormatProperties2);
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR void VKAPI_CALL RPIFUNC(vkGetImageSparseMemoryRequirements2)(
2019-04-22 15:58:27 +02:00
VkDevice device,
const VkImageSparseMemoryRequirementsInfo2* pInfo,
uint32_t* pSparseMemoryRequirementCount,
VkSparseImageMemoryRequirements2* pSparseMemoryRequirements)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkGetImageSparseMemoryRequirements2);
2019-04-22 15:58:27 +02:00
}