1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2024-11-29 11:24:14 +01:00
rpi-vk-driver/driver/compute.c
2020-04-17 13:04:28 +01:00

46 lines
1.6 KiB
C

#include "common.h"
//TODO
//compute shaders need kernel support
VKAPI_ATTR VkResult VKAPI_CALL rpi_vkCreateComputePipelines(
VkDevice device,
VkPipelineCache pipelineCache,
uint32_t createInfoCount,
const VkComputePipelineCreateInfo* pCreateInfos,
const VkAllocationCallbacks* pAllocator,
VkPipeline* pPipelines)
{
UNSUPPORTED(vkCreateComputePipelines);
return UNSUPPORTED_RETURN;
}
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdDispatchIndirect(
VkCommandBuffer commandBuffer,
VkBuffer buffer,
VkDeviceSize offset)
{
UNSUPPORTED(vkCmdDispatchIndirect);
}
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdDispatch(
VkCommandBuffer commandBuffer,
uint32_t groupCountX,
uint32_t groupCountY,
uint32_t groupCountZ)
{
UNSUPPORTED(vkCmdDispatch);
}
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdDispatchBase(
VkCommandBuffer commandBuffer,
uint32_t baseGroupX,
uint32_t baseGroupY,
uint32_t baseGroupZ,
uint32_t groupCountX,
uint32_t groupCountY,
uint32_t groupCountZ)
{
UNSUPPORTED(vkCmdDispatchBase);
}