1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2024-12-03 15:24:13 +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
VKAPI_ATTR VkResult VKAPI_CALL vkCreateComputePipelines(
VkDevice device,
VkPipelineCache pipelineCache,
uint32_t createInfoCount,
const VkComputePipelineCreateInfo* pCreateInfos,
const VkAllocationCallbacks* pAllocator,
VkPipeline* pPipelines)
{
2019-09-07 18:41:46 +02:00
UNSUPPORTED(vkCreateComputePipelines);
2019-04-22 15:58:27 +02:00
return VK_SUCCESS;
}
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchIndirect(
VkCommandBuffer commandBuffer,
VkBuffer buffer,
VkDeviceSize offset)
{
2019-09-07 18:41:46 +02:00
UNSUPPORTED(vkCmdDispatchIndirect);
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR void VKAPI_CALL vkCmdDispatch(
VkCommandBuffer commandBuffer,
uint32_t groupCountX,
uint32_t groupCountY,
uint32_t groupCountZ)
{
2019-09-07 18:41:46 +02:00
UNSUPPORTED(vkCmdDispatch);
2019-04-22 15:58:27 +02:00
}
VKAPI_ATTR void VKAPI_CALL vkCmdDispatchBase(
VkCommandBuffer commandBuffer,
uint32_t baseGroupX,
uint32_t baseGroupY,
uint32_t baseGroupZ,
uint32_t groupCountX,
uint32_t groupCountY,
uint32_t groupCountZ)
{
2019-09-07 18:41:46 +02:00
UNSUPPORTED(vkCmdDispatchBase);
2019-04-22 15:58:27 +02:00
}