Commit graph

412 commits

Author SHA1 Message Date
msiglreith 8d75459a84 Fix physical device enumeration and add dummy features
Vulkan loader expects that EnumeratePhysicalDevices will return the same handles on each call. Caching them on startup
2018-03-29 15:47:03 +02:00
bors[bot] 8e85630840 Merge #45
45: Update gfx with image kind changes r=me a=kvark
2018-03-28 15:26:29 +00:00
Dzmitry Malyshau 7a544eb46f Update gfx with image kind changes 2018-03-27 13:38:49 -04:00
bors[bot] 1df436d581 Merge #44
44: Fix dispatchable handles r=kvark a=msiglreith

Temporarily disables command buffer freeing.
Allows to run first CTS tests on dx12 with the ICD layer.
2018-03-15 14:17:21 +00:00
msiglreith 7817b77c0b Fix dispatchable handles 2018-03-14 22:38:02 +01:00
bors[bot] 3cfbc39c86 Merge #43
43: Update for latest HAL changes in descriptor writes r=msiglreith a=kvark
2018-03-02 21:05:06 +00:00
Dzmitry Malyshau 127312e84e Update for latest HAL changes in descriptor writes 2018-03-02 10:52:21 -05:00
bors[bot] 50fb8e2b8c Merge #25
25: Basic support for Metal r=msiglreith a=kvark

Addresses part of #24

~~I haven't actually made it running, since the lack of "vulkan.h" on the system. We should be packing it in this project. But at least the code builds now on Metal.~~

Update: PR has been revived. Metal builds and executes just fine up to the point where window integration is needed - leaving for the follow-ups (help is appreciated!).
2018-03-02 12:31:24 +00:00
Dzmitry Malyshau d308cd7216 Metal support, dispatch feature 2018-03-02 06:56:17 -05:00
bors[bot] 1c06394db0 Merge #42
42: Improve ICD: adding missing entrypoints and add magic loader field r=kvark a=msiglreith

Fixes #32 
Vulkan stuck in endless loop, dx12 crashing at device creation (missing extension information)
2018-03-01 14:54:18 +00:00
msiglreith 627559bc03 Improve ICD: adding missing entrypoints and add magic loader field 2018-03-01 15:31:19 +01:00
bors[bot] aaf53822bf Merge #41
41: Add appveyor CI support r=kvark a=msiglreith

Fixes #40
2018-03-01 13:56:18 +00:00
msiglreith 1f5f4410db Add appveyor CI support 2018-03-01 13:33:14 +01:00
bors[bot] c59ea3b5c7 Merge #39
39: Basic env_logger hookup r=msiglreith a=kvark

Not CI tested but fairly simple and nothing bad will happen if it breaks.
Developer can manually enable the feature for local debugging.
2018-02-28 17:51:52 +00:00
Dzmitry Malyshau a89b41ac40 Basic env_logger hookup 2018-02-28 12:49:44 -05:00
bors[bot] e0f19181f0 Merge #38
38: Image properties, more entry points r=msiglreith a=kvark
2018-02-28 17:06:48 +00:00
Dzmitry Malyshau d9b5a0b5c6 Image properties, more entry points 2018-02-28 11:51:46 -05:00
bors[bot] 9cc6abe45f Merge #37
37: HAL update for descriptor sets r=msiglreith a=kvark
2018-02-28 16:39:41 +00:00
Dzmitry Malyshau f8bd64a885 HAL update for descriptor sets 2018-02-28 11:27:03 -05:00
bors[bot] e7ebddf356 Merge #36
36: Add missing deviceproc entrypoints r=kvark a=msiglreith
2018-02-28 13:57:58 +00:00
msiglreith 965f2a2c9e Remove duplicate reset event entry points 2018-02-28 13:56:05 +01:00
msiglreith 9cfbe8d243 Fix build on non-unix systems 2018-02-27 23:10:12 +01:00
msiglreith a4a6ae38d4 Add missing device proc entry points 2018-02-27 23:04:06 +01:00
bors[bot] c692153a2d Merge #35
35: Missing stuff to get triangle CTS tests running r=msiglreith a=kvark
2018-02-27 21:39:38 +00:00
Dzmitry Malyshau 2048d3ba75 Expose more device functions, implement buffer-image copies, pipeline barriers, and all the things needed to execture the triangle CTS tests. 2018-02-27 16:32:49 -05:00
bors[bot] ef2406360b Merge #34
34: More physical device, instance functions, sampler creation/destruction r=msiglreith a=kvark
2018-02-27 21:31:03 +00:00
Dzmitry Malyshau e9948e2299 More physical device, instance functions, sampler creation/destruction 2018-02-27 15:08:18 -05:00
bors[bot] 28e1318314 Merge #33
33: Base on gfx-rs master revision r=kvark a=kvark

Closes https://github.com/gfx-rs/gfx/issues/1819
2018-02-16 15:50:31 +00:00
Dzmitry Malyshau 7d7a0f9e44 Base on gfx-rs master revision 2018-02-16 10:31:15 -05:00
bors[bot] a7806c4b10 Merge #30
30: XCB support r=msiglreith a=kvark
2018-02-16 10:38:51 +00:00
Dzmitry Malyshau db997ead72 Update to iterator changes in HAL device methods 2018-02-15 23:34:53 -05:00
Dzmitry Malyshau 05e8abbde0 XCB support 2018-02-07 17:48:09 -05:00
bors[bot] c049bac241 Merge #28
28: Update to latest master r=kvark a=msiglreith
2018-01-30 04:20:42 +00:00
msiglreith 1f69948ef1 Update to latest master 2018-01-29 23:26:28 +01:00
bors[bot] 1d77233de9 Merge #27
27: Include LunarG build settings in README r=kvark a=msiglreith
2018-01-29 18:21:06 +00:00
msiglreith 55dbf83cdb
Include LunarG build settings in README 2018-01-29 19:04:06 +01:00
bors[bot] 23d10a3c0f Merge #26
26: Add all portability shims r=kvark a=msiglreith

Add missing shim implementations on the portability library side and move function address query implementation into the impl crate.
2018-01-29 14:59:34 +00:00
msiglreith c65a407dd5 Add all missing shims for the library interface 2018-01-29 13:32:53 +01:00
msiglreith 2113357d47 Fix and implement vkGetInstanceProcAddr and vkGetDeviceProcAddr 2018-01-29 13:32:53 +01:00
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