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

46 lines
1.6 KiB
C
Raw Normal View History

2019-04-22 15:58:27 +02:00
#include "common.h"
//TODO
2019-09-07 18:41:46 +02:00
//compute shaders need kernel support
2019-04-22 15:58:27 +02:00
2019-09-30 00:52:21 +02:00
VKAPI_ATTR VkResult VKAPI_CALL rpi_vkCreateComputePipelines(
2019-04-22 15:58:27 +02:00
VkDevice device,
VkPipelineCache pipelineCache,
uint32_t createInfoCount,
const VkComputePipelineCreateInfo* pCreateInfos,
const VkAllocationCallbacks* pAllocator,
VkPipeline* pPipelines)
{
2019-09-30 02:13:55 +02:00
UNSUPPORTED(rpi_vkCreateComputePipelines);
2019-04-22 15:58:27 +02:00
return VK_SUCCESS;
}
2019-09-30 00:52:21 +02:00
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdDispatchIndirect(
2019-04-22 15:58:27 +02:00
VkCommandBuffer commandBuffer,
VkBuffer buffer,
VkDeviceSize offset)
{
2019-09-30 02:13:55 +02:00
UNSUPPORTED(rpi_vkCmdDispatchIndirect);
2019-04-22 15:58:27 +02:00
}
2019-09-30 00:52:21 +02:00
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdDispatch(
2019-04-22 15:58:27 +02:00
VkCommandBuffer commandBuffer,
uint32_t groupCountX,
uint32_t groupCountY,
uint32_t groupCountZ)
{
2019-09-30 02:13:55 +02:00
UNSUPPORTED(rpi_vkCmdDispatch);
2019-04-22 15:58:27 +02:00
}
2019-09-30 00:52:21 +02:00
VKAPI_ATTR void VKAPI_CALL rpi_vkCmdDispatchBase(
2019-04-22 15:58:27 +02:00
VkCommandBuffer commandBuffer,
uint32_t baseGroupX,
uint32_t baseGroupY,
uint32_t baseGroupZ,
uint32_t groupCountX,
uint32_t groupCountY,
uint32_t groupCountZ)
{
2019-09-30 02:13:55 +02:00
UNSUPPORTED(rpi_vkCmdDispatchBase);
2019-04-22 15:58:27 +02:00
}