Commit graph

49 commits

Author SHA1 Message Date
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
msiglreith 82ab5720ee Implement vkDestroyImageView 2017-12-08 01:07:55 +01:00
msiglreith 69b3d1e043 Implement VkCreateImageView 2017-12-08 01:07:55 +01:00
Dzmitry Malyshau 7ff5dcefbd
Merge pull request #6 from msiglreith/xcb
Surface and Swapchain extensions
2017-12-07 17:32:45 -05:00
msiglreith c09387bc4f Add swapchain related implementations 2017-12-07 22:36:52 +01:00
msiglreith 936b207418 win32: Add basic window setup and remove winit based surface function 2017-12-02 18:01:07 +01:00
Dzmitry Malyshau 3179b49398
Merge pull request #5 from msiglreith/build_ci
Fix Makefile and travis build
2017-12-01 10:33:42 -05:00
msiglreith f297339838 Fix Makefile 2017-12-01 16:08:11 +01:00
Dzmitry Malyshau d2dc11f229
Merge pull request #3 from msiglreith/win32surface
Support win32 surface creation
2017-11-24 11:13:21 -05:00
msiglreith a9aada84e6 win32: Support win32 surface creation 2017-11-23 18:39:46 +01:00
Dzmitry Malyshau c8b4f2e7a7
Merge pull request #2 from msiglreith/first-steps
Fix windows issues
2017-11-23 09:38:49 -05:00
msiglreith ca1ff277fa Fix stack corruption caused by command buffers
Command buffer size needs to match between exposed type in Rust and vulkan declaration. Therefore, cmd buffers get wrapped in handles
2017-11-23 00:04:29 +01:00
msiglreith 7d45552cbc Add support for more formats 2017-11-23 00:02:50 +01:00
msiglreith 30f55be936 Change file-ending for MSVC compiler 2017-11-23 00:02:09 +01:00
Dzmitry Malyshau f799034fb1 Surface capabilities and formats 2017-11-14 11:19:33 -05:00
Dzmitry Malyshau 432331abce Surface creation/destruction 2017-11-13 22:57:02 -05:00
Dzmitry Malyshau fcdebb5160 Command buffer allocation/freeing 2017-11-13 22:56:57 -05:00
Dzmitry Malyshau 82d4e84e03 Command pool creation/destruction 2017-11-06 22:33:36 -05:00
Dzmitry Malyshau 1828304cbd Update to latest gfx-rs 2017-11-06 21:57:32 -05:00
Dzmitry Malyshau 101a0521b9 Device creation 2017-09-12 12:27:01 -04:00
Dzmitry Malyshau 9098c95950 Git modules, README, travis, etc 2017-09-06 22:04:18 -04:00
Dzmitry Malyshau 70cf6476c3 Proper static lib, enumerate_adapters 2017-09-06 22:02:03 -04:00
Dzmitry Malyshau 7f30e22a05 Basic Vulkan header hookup and automation 2017-09-06 22:02:03 -04:00
Dzmitry Malyshau 878a12c594 Initial commit 2017-09-06 21:53:52 -04:00