Commit graph

443 commits

Author SHA1 Message Date
Dzmitry Malyshau 33a306d7b3 Rustfmt pass 2021-01-19 01:29:07 -05:00
Dzmitry Malyshau 68848dc9a1 Expose KHR_imageless_framebuffer 2021-01-19 01:29:07 -05:00
bors[bot] 9737afa9be
Merge #240
240: Update to gfx-hal borrow refactor r=kvark a=kvark

Depends on https://github.com/gfx-rs/gfx/pull/3586
Also:
  - removes typed-arena dependency
  - removes soundness bug with semaphore fake state
  - use `make_slice` more

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-01-19 05:21:56 +00:00
Dzmitry Malyshau 49fcee8130 Update to gfx-hal borrow refactor 2021-01-19 00:18:49 -05:00
bors[bot] e4e67c56a5
Merge #239
239: Remove lazy-static dependency r=kvark a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-01-17 07:23:55 +00:00
Dzmitry Malyshau ac6cbf1860 Remove lazy-static dependency 2021-01-17 02:18:59 -05:00
bors[bot] 3983115cfa
Merge #238
238: Update gfx with the image-less framebuffer semantics r=kvark a=kvark

Contains the following major pieces in the gfx-hal update:
  - use gfx's new image-less framebuffers - https://github.com/gfx-rs/gfx/pull/3571. Note: we aren't actually exposing `VK_imageless_framebuffer` yet, but this will be in follow-ups.
  - update the external synchronization semantics from gfx
  - the dependencies for smallvec and parking_lot are dropped (yay!)

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-01-17 06:58:51 +00:00
Dzmitry Malyshau aacb8c1a3f Update gfx with the image-less framebuffer semantics, remove smallvec and parking_lot dependencies 2021-01-17 01:45:57 -05:00
bors[bot] 7ab1336ea8
Merge #237
237: Revisioned swapchains r=kvark a=ElArtista



Co-authored-by: TheArtist <agorglouk@gmail.com>
2020-12-14 20:52:29 +00:00
TheArtist 785c61a9e6 Revisioned swapchains 2020-12-14 22:44:05 +02:00
bors[bot] c1938e9149
Merge #236
236: Provide VK_KHR_xlib_surface extension mapping r=kvark a=ElArtista



Co-authored-by: TheArtist <agorglouk@gmail.com>
2020-12-14 18:53:25 +00:00
TheArtist 7c8152f7fb Provide VK_KHR_xlib_surface extension mapping 2020-12-14 16:20:37 +02:00
bors[bot] 6a796a7ba1
Merge #235
235: Using a RawWindowHandle with hal::create_surface for multi-backend compatibility r=kvark a=ElArtista



Co-authored-by: TheArtist <agorglouk@gmail.com>
2020-12-11 22:14:37 +00:00
TheArtist 84e95e539f Using a RawWindowHandle with hal::create_surface for multi-backend compatibility 2020-12-11 22:38:17 +02:00
bors[bot] 8ee8bb03bf
Merge #234
234: Provide VK_KHR_xcb_surface extension mapping r=kvark a=ElArtista



Co-authored-by: TheArtist <agorglouk@gmail.com>
2020-12-11 19:56:37 +00:00
TheArtist a90863e5ef Provide VK_KHR_xcb_surface extension mapping 2020-12-11 21:39:28 +02:00
bors[bot] 42357f3571
Merge #233
233: Update gfx and unlock GL backend on *nix r=kvark a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2020-12-01 06:22:29 +00:00
Dzmitry Malyshau 196b9e593d Update gfx and unlock GL backend on *nix 2020-12-01 01:18:27 -05:00
bors[bot] 6a5bf59ddc
Merge #230
230: Update gfx with swapchain readback support r=kvark a=kvark

Based on https://github.com/gfx-rs/gfx/pull/3424

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2020-10-29 03:37:11 +00:00
Dzmitry Malyshau cff9d7afcd Allow UWP build fail on CI, temporarily 2020-10-28 23:36:42 -04:00
Dzmitry Malyshau 2fcc5636bf Update gfx with swapchain readback support 2020-10-28 23:32:39 -04:00
Dzmitry Malyshau 7c42b540a8 Basic UWP target support, readme update 2020-09-30 13:07:41 -04:00
bors[bot] bae930673d
Merge #229
229: Debug markers and iterator fixes r=kvark a=kvark

Blocked on https://github.com/gfx-rs/gfx/pull/3387

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2020-09-29 03:14:40 +00:00
Dzmitry Malyshau 539af2018e Remove vulkan HPP 2020-09-28 23:13:38 -04:00
Dzmitry Malyshau 335d42b466 Implement debug markers, avoid taking a zero-sized slice from raw data. 2020-09-28 23:13:38 -04:00
Dzmitry Malyshau 57b5996a91 Gfx dependency update 2020-09-28 23:13:38 -04:00
Dzmitry Malyshau eaad40edc8 Remove extern C function definitions from libportability-gfx 2020-09-25 23:45:29 -04:00
Dzmitry Malyshau d0a798f569 Add missing entry points for VK_KHR_get_physical_device_properties2 and VK_KHR_maintenance1 2020-09-23 01:31:59 -04:00
bors[bot] ad2e228947 Merge #222
222: Add basic iOS target r=kvark a=kvark

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2020-09-20 00:23:13 -04:00
Dzmitry Malyshau 9ca2bb9ddb Add basic iOS target 2020-09-19 23:12:22 -04:00
bors[bot] e109587bf0
Merge #221
221: Support VK_KHR_portability_subset r=kvark a=kvark

Our extension IDs were messed up. Good thing to clean them up now, since otherwise nobody would be able to make this work 😅 
Also, the test native example is now fully trying to initialize the portability extension and gather the relevant info. Output on my machine:
```
	vkEnumerateInstanceExtensionProperties: res=0 count=5
	vkEnumeratePhysicalDevices: res=0 count=1
	vkEnumerateDeviceExtensionProperties: res=0 count=3
	gfxGetPhysicalDeviceProperties2KHR
		minVertexInputBindingStrideAlignment = 4
	gfxGetPhysicalDeviceFeatures2KHR
		events = 1
		pointPolygons = 0
		separateStencilMaskRef = 1
		triangleFans = 0
```

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2020-09-20 00:57:19 +00:00
Dzmitry Malyshau 46e35f8a19 Add monocodus config to disable clang-tidy 2020-09-19 20:54:28 -04:00
Dzmitry Malyshau 2d0aeb66e7 Support VK_KHR_portability_subset 2020-09-19 20:54:21 -04:00
bors[bot] a81b5a4f21
Merge #220
220: Support more than one frame in flight r=kvark a=kvark

Fixes #219 
![portability-dota2](https://user-images.githubusercontent.com/107301/92435144-9d3e6f80-f16f-11ea-91d3-8bffbb36dc44.jpg)


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2020-09-08 05:07:43 +00:00
Dzmitry Malyshau 871cc90b09 Support more than one frame in flight 2020-09-08 01:06:45 -04:00
Dzmitry Malyshau cbaf5ba24e Switch CI to github actions 2020-08-25 23:09:09 -04:00
Dzmitry Malyshau 8dcbf11d89 gfx update with metal MSAA clear fix 2020-08-24 01:12:43 -04:00
Dzmitry Malyshau bbd2e78d26 Support recording swapchain commands from multiple threads 2020-08-23 10:50:38 -04:00
Dzmitry Malyshau d4fbf6c0a8 Update gfx with the metal clear_image fix 2020-08-23 00:19:05 -04:00
Dzmitry Malyshau 1c8ba98fd1 Update gfx with the border color changes 2020-08-23 00:19:05 -04:00
Dzmitry Malyshau 47bbd375b3 Fix the difference in clear attachment data with gfx 2020-08-22 01:41:42 -04:00
Dzmitry Malyshau 7034f366b3 Add basic support for VK_KHR_portability_subset 2020-08-22 01:41:42 -04:00
Dzmitry Malyshau bb40160a6a Convert the rest of functions to unsafe 2020-08-22 01:41:42 -04:00
Dzmitry Malyshau 8ccdddda2e Update to latest gfx, mark some of the methods unsafe 2020-08-22 01:41:42 -04:00
Dzmitry Malyshau 3c68e62cdf Update gfx dependencies 2020-08-05 13:08:29 -04:00
Dzmitry Malyshau 7962ce0d8b Support VK_KHR_get_surface_capabilities2 2020-08-05 13:08:29 -04:00
Dzmitry Malyshau 1b19af0f5d Port all the limits 2020-08-05 13:08:29 -04:00
Dzmitry Malyshau d6a92224ab Fake fence semantics 2020-08-05 13:08:29 -04:00
Dzmitry Malyshau 13773ea162 Fix push constant ranges 2020-08-05 13:08:29 -04:00
Dzmitry Malyshau bef4517f83 Port to the new swapchain model 2020-08-05 13:08:29 -04:00