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

48 lines
1.6 KiB
C
Raw Normal View History

2019-04-22 15:58:27 +02:00
#include "common.h"
#include "declarations.h"
2019-04-22 15:58:27 +02:00
//TODO
2019-09-07 18:41:46 +02:00
//compute shaders need kernel support
2019-04-22 15:58:27 +02:00
VKAPI_ATTR VkResult VKAPI_CALL RPIFUNC(vkCreateComputePipelines)(
2019-04-22 15:58:27 +02:00
VkDevice device,
VkPipelineCache pipelineCache,
uint32_t createInfoCount,
const VkComputePipelineCreateInfo* pCreateInfos,
const VkAllocationCallbacks* pAllocator,
VkPipeline* pPipelines)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkCreateComputePipelines);
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(vkCmdDispatchIndirect)(
2019-04-22 15:58:27 +02:00
VkCommandBuffer commandBuffer,
VkBuffer buffer,
VkDeviceSize offset)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkCmdDispatchIndirect);
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR void VKAPI_CALL RPIFUNC(vkCmdDispatch)(
2019-04-22 15:58:27 +02:00
VkCommandBuffer commandBuffer,
uint32_t groupCountX,
uint32_t groupCountY,
uint32_t groupCountZ)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkCmdDispatch);
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR void VKAPI_CALL RPIFUNC(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)
{
2020-04-17 14:04:28 +02:00
UNSUPPORTED(vkCmdDispatchBase);
2019-04-22 15:58:27 +02:00
}