Commit graph

423 commits

Author SHA1 Message Date
bors[bot] 8d1498c60d Merge #21
21: Implement remaining pieces for LunarG API-Samples r=kvark a=msiglreith

Requires the queue present PR to be merged and rebasing of the portability branch before merging!
2018-01-22 13:35:40 +00:00
msiglreith d812b10a72 Fix build and enumerating physical devices 2018-01-19 13:37:45 +01:00
Dzmitry Malyshau 40015e8fac
Add Gitter link to README 2018-01-18 12:42:29 -05:00
msiglreith 31d9ddc75f Cleanup usage of deref and a few code improvements 2018-01-16 23:22:01 +01:00
msiglreith 31aa84a06e Implement vkCmdSetViewports, gfxCmdBindPipeline, gfxCmdSetScissor, gfxCmdBindDescriptorSets, gfxCmdDraw, gfxQueuePresentKhr and fix graphics pipeline creation 2018-01-16 18:24:54 +01:00
msiglreith ea0714cf39 Implement vkCreateGraphicsPipeline and vkDestroyGraphicsPipeline 2018-01-16 18:24:54 +01:00
msiglreith f422eb24d1 Implement vkCmdBindVertexBuffers and vkCmdEndRenderPass 2018-01-16 18:24:54 +01:00
msiglreith 225764fc2d Implement vkCmdBeginRenderPass 2018-01-16 18:24:53 +01:00
bors[bot] 8840b74646 Merge #18
18: Framebuffer example r=kvark a=msiglreith

Implement functions for the framebuffer sample
2018-01-10 03:35:38 +00:00
msiglreith 63847cc271 Implement vkQueueSubmit, vkCreateFence, vkDestroyFence, vkWaitForFences, vkCreateFramebuffer, vkDestroyFramebuffer, vkBeginCommandBuffer and vkEndCommandBuffer 2018-01-09 23:12:00 +01:00
bors[bot] 2d047648c3 Merge #17
17: Render pass r=kvark a=msiglreith

Implement required functions for 10-render-pass
* vkGetDeviceQueue
* vkCreateSemaphore
* vkDestroySemaphore
* vkAcquireNextImageKHR
* vkCreateRenderPass
* vkDestroyRenderPass
2018-01-09 22:05:27 +00:00
msiglreith 1a1f1f856e Cleanup implementation 2018-01-09 23:00:35 +01:00
msiglreith b9118e60a5 Implement vkGetDeviceQueue, vkCreateSemaphore, vkDestroySemaphore, vkAcquireNextImageKHR, vkCreateRenderPass and vkDestroyRenderPass 2018-01-09 15:19:22 +01:00
bors[bot] 33978e81e2 Merge #16
16: LunarG samples support (7, 8, 9, 11) r=kvark a=msiglreith

Implement necessary functionality for LunarG API-Samples 7 (uniform buffer), 8 (pipeline layout), 9 (descriptor set) and 11 (shaders).

Merge + rebase of two outstanding gfx PRs to run.
2018-01-07 22:51:53 +00:00
msiglreith 84dcbf309a Fix buffer and image binding 2018-01-07 23:39:06 +01:00
msiglreith fb6d185e5f Implement vkCreateShaderModule and vkDestroyShaderModule 2018-01-07 23:28:56 +01:00
msiglreith a3a7f1f552 Implement vkCreateDescriptorPool, vkDestroyDescriptorPool, vkAllocateDescriptorSets and vkUpdateDescriptorSets 2018-01-07 16:17:02 +01:00
msiglreith 78f0654ad3 Implement vkCreatePipelineLayout, vkDestroyPipelineLayout and vkDestroyDescriptorSetLayout 2018-01-07 16:17:02 +01:00
msiglreith 33e263cd58 Implement vkCreateDescriptorSetLayout 2018-01-07 16:17:02 +01:00
msiglreith b9d6309c67 Fix GetPhysicalDeviceQueueFamilyProperties and basic implementation for getting native lunarg samples running 2018-01-07 16:17:01 +01:00
bors[bot] 05c1d5387f Merge #15
15: Export dummy vulkan functions to fix linking of lunarg API samples r=kvark a=msiglreith

Export a lot more functions which are required for getting lunarg API samples to link (don't run yet as some functions are not implemented so far).

+ format everything with rustfmt-nightly
2018-01-04 20:00:47 +00:00
msiglreith 9412c51b82 Export dummy vulkan functions to fix linking of lunarg API samples 2018-01-04 19:15:51 +01:00
bors[bot] 0b55712fac Merge #14
14: Implement sample 07 - uniform buffer r=kvark a=msiglreith

Implement the required methods, fix missing depth image destruction and fix memory binding (swapping the underlying resource didn't work as expected).
2018-01-04 17:29:22 +00:00
msiglreith 6bb3aa427a Cleanup memory binding and memory requirements following review advice 2018-01-04 18:16:00 +01:00
msiglreith 7c19ad77ae Implement vkCreateBuffer and fix memory binding 2018-01-04 15:50:28 +01:00
msiglreith 728e338ffa Implement vkMapMemory, vkUnmapMemory, vkBindBufferMemory, vkGetBufferMemoryRequirements, vkDestroyBuffer and vkDestroyImage 2018-01-04 15:21:35 +01:00
bors[bot] 092c522b8e Merge #13
13: dx12 support, finish depth image sample and more.. r=kvark a=msiglreith

(The PR is a bit messy, my apologies 😅 )

* Add dx12 backend support, including switching to dylibs over static lib due to linking issues with windows libraries
* Finish API sample 06 (depth image) by implementing vkBindImageMemory
* Start with sample 07 with adding a simple math lib (copied from an older C++ engine of mine..)
* Update `portable` branch to latest version

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/gfx-rs/portability/13)
<!-- Reviewable:end -->
2018-01-02 18:33:30 +00:00
msiglreith bcc11fac99 Fix Makefile and build and update README 2018-01-02 18:45:24 +01:00
msiglreith d270a36ba3 Update to latest gfx master 2018-01-02 00:47:47 +01:00
msiglreith d93282925c dx12: Fix native build using dynamic c-libs 2017-12-27 01:11:44 +01:00
msiglreith c2935f357a native: Add math primitives 2017-12-26 20:25:56 +01:00
msiglreith 7a3a11fafc Implement vkBindImageMemory and remaining parts of the depth buffer example 2017-12-26 19:59:30 +01:00
msiglreith 458568cad2 Add support for dx12 2017-12-26 19:45:31 +01:00
bors[bot] d15b5fa59f Merge #12
12: Implement vkAllocateMemory and vkFreeMemory r=kvark a=msiglreith
2017-12-22 02:44:47 +00:00
msiglreith 4f409de59e Implement vkAllocateMemory and vkFreeMemory 2017-12-21 23:38:43 +01:00
bors[bot] 04835a3aeb Merge #11
11: Implement vkGetPhysicalDeviceMemoryProperties r=kvark a=msiglreith
2017-12-20 15:00:13 +00:00
msiglreith 2e19f801e4 Implement vkGetPhysicalDeviceMemoryProperties and add some placeholders 2017-12-20 15:26:10 +01:00
bors[bot] 21345fa702 Merge #10
10: Update README and relink gfx dependency to main repository r=kvark a=msiglreith
2017-12-20 12:43:55 +00:00
msiglreith 5d16ac702b Update README and relink gfx dependency to main repository 2017-12-19 22:29:31 +01:00
bors[bot] 02da506e7a Merge #9
9: Image creation r=kvark a=msiglreith

Implements `vkCreateImage`, `vkGetImageMemoryRequirements` and `vkGetPhysicalDeviceFormatProperties`.

~~Might require a rebase of the portable gfx branch, I don't remember.~~ Yes, rebase on latest gfx master required
2017-12-11 18:13:24 +00:00
msiglreith bc7a8107e6 Implement vkGetImageMemoryRequirements 2017-12-11 19:04:55 +01:00
Dzmitry Malyshau 6da6cc415b
Exception for staging.tmp 2017-12-11 12:23:31 -05:00
Dzmitry Malyshau 26c3f509c4
Add bors.toml 2017-12-11 12:20:49 -05:00
msiglreith 468c42a3a2 Implement vkCreateImage 2017-12-11 13:56:20 +01:00
msiglreith 740cec2c9b Implement vkGetPhysicalDeviceFormatProperties and parts of 06 - depth stencil sample 2017-12-11 13:56:20 +01:00
Dzmitry Malyshau e90c0fdf59
Merge pull request #8 from msiglreith/icd
ICD groundwork
2017-12-10 21:21:14 -05:00
msiglreith 054678b7f5 Fix Makefile and mark implementations as inline 2017-12-08 23:20:02 +01:00
msiglreith b919665a9b ICD implementation groundwork 2017-12-08 19:18:36 +01:00
msiglreith 428899f237 Restructure project for ICD implementation 2017-12-08 19:18:35 +01:00
Dzmitry Malyshau 1797c73f8b
Merge pull request #7 from msiglreith/image_view
Image view creation/destruction
2017-12-07 19:40:26 -05:00