Basic rendering

This commit is contained in:
Robin Voetter
2020-07-02 22:25:09 +02:00
parent 34253e231b
commit 37b002001a
4 changed files with 136 additions and 10 deletions

View File

@@ -46,6 +46,15 @@ const DeviceDispatch = struct {
vkResetFences: vk.PfnResetFences,
vkQueueSubmit: vk.PfnQueueSubmit,
vkQueuePresentKHR: vk.PfnQueuePresentKHR,
vkCreateCommandPool: vk.PfnCreateCommandPool,
vkDestroyCommandPool: vk.PfnDestroyCommandPool,
vkAllocateCommandBuffers: vk.PfnAllocateCommandBuffers,
vkFreeCommandBuffers: vk.PfnFreeCommandBuffers,
vkBeginCommandBuffer: vk.PfnBeginCommandBuffer,
vkCmdClearColorImage: vk.PfnCmdClearColorImage,
vkEndCommandBuffer: vk.PfnEndCommandBuffer,
vkQueueWaitIdle: vk.PfnQueueWaitIdle,
vkCmdPipelineBarrier: vk.PfnCmdPipelineBarrier,
usingnamespace vk.DeviceWrapper(@This());
};