Commit Graph

1650 Commits

Author SHA1 Message Date
Pierre Krieger
4818f365e9 Add prototype support for descriptor arrays of images 2017-04-01 12:11:53 +02:00
Pierre Krieger
86869ab4d6 Add Image::default_layout() method 2017-03-29 19:28:15 +02:00
Pierre Krieger
77fa7ee5cd Add ImmutableImage::with_mipmaps 2017-03-24 10:52:29 +01:00
tomaka
341ed09849 Merge pull request #405 from tomaka/inco-send-sync
Add Send/Sync bounds everywhere
2017-03-21 13:08:07 +01:00
Pierre Krieger
9f66b56aa4 Add Send/Sync bounds everywhere 2017-03-21 11:26:16 +01:00
Pierre Krieger
2f7b729dab Remove spurious debug assert 2017-03-20 11:11:40 +01:00
Pierre Krieger
18ac8bb60c Convert AttachmentImage to new IntoImage design 2017-03-19 18:20:58 +01:00
Pierre Krieger
06912ed461 Don't automatically add usages in the attachment image 2017-03-19 16:19:23 +01:00
tomaka
cffa20ce2b Merge pull request #403 from tomaka/into-traits
Add IntoBuffer and IntoImage traits
2017-03-17 16:02:31 +01:00
Pierre Krieger
12c9b63b4c Add IntoBuffer and IntoImage traits 2017-03-17 13:06:49 +01:00
tomaka
f3e937372b Merge pull request #400 from nicokoch/khr_maintenance1_support
Khr maintenance1 support
2017-03-16 22:46:48 +01:00
Nicolas Koch
d973fcc274 Mark trim() as unsafe 2017-03-16 22:30:42 +01:00
tomaka
400b582f5b Merge pull request #402 from DaseinPhaos/patch4
Restore CmdDrawIndexed
2017-03-16 16:46:24 +01:00
Luxko
f82ceaf35c Restore CmdDrawIndexed
- restore CmdDrawIndexed
- add a method `draw_indexed` to `CommandBufferBuilder`
- pass through relative `AddCommand`-impls to relative layers and
finally to `AutoCommandBufferBuilder`.
- make the teapot example work again
2017-03-16 21:55:01 +08:00
tomaka
c85258de55 Merge pull request #401 from DaseinPhaos/patch-3
Update ordered_passes_renderpass!
2017-03-15 16:37:14 +01:00
Luxko
7481c0d770 Update ordered_passes_renderpass!
Reverse the aggregation order of attachments.
2017-03-15 22:20:01 +08:00
Pierre Krieger
c9873c3cda Temporarily make immutable buffer unsafe again 2017-03-14 19:04:48 +01:00
Nicolas Koch
ae667beb00 Fix typo 2017-03-12 02:49:02 +01:00
Nicolas Koch
7f3b267865 Image: Perform additional sanity checks
These new format features where introduced with VH_KHR_maintenance1.
2017-03-12 02:27:44 +01:00
Nicolas Koch
2a448197cf Return an error from trim() if extension is not enabled 2017-03-12 01:55:43 +01:00
Nicolas Koch
94bacfa3bd Add OutOfPoolMemory error.
Introduced by VK_KHR_maintenance1.
2017-03-12 01:35:10 +01:00
Nicolas Koch
705cff5edc Implement trim() for command pools 2017-03-12 01:35:10 +01:00
Pierre Krieger
d2b9379d3b Disable some spurious asserts for now 2017-03-11 17:52:33 +01:00
Pierre Krieger
7d8f920254 Add back copy_buffer and various fixes 2017-03-11 17:31:58 +01:00
Pierre Krieger
721afacda0 Fix missing impl for CmdUpdateBuffer in auto barriers 2017-03-11 15:07:20 +01:00
Pierre Krieger
ca5390d1e3 Add Buffer::index method 2017-03-11 14:57:39 +01:00
Pierre Krieger
d6cb5aa282 Rework buffer update command 2017-03-11 14:53:41 +01:00
Pierre Krieger
99305e8643 Remove default params in render pass module 2017-03-07 18:55:00 +01:00
Pierre Krieger
50cc47ea19 Fix tons of warnings 2017-03-07 18:54:51 +01:00
tomaka
ff2422f040 Merge pull request #399 from nicokoch/query_device_extensions
Add functions to query supported device extensions
2017-03-07 15:58:10 +01:00
Nicolas Koch
d0730338c7 Move to top of module 2017-03-07 15:38:19 +01:00
Nicolas Koch
c869ef8dbb Compare extension names more elegantly 2017-03-07 15:34:09 +01:00
Nicolas Koch
d7a3f5b157 Add functions to query supported device extensions 2017-03-07 13:28:57 +01:00
tomaka
1930d14070 Merge pull request #398 from nicokoch/mirror_clamp_to_edge
Check for VK_KHR_mirror_clamp_to_edge extension
2017-03-06 14:30:04 +01:00
tomaka
1fe7e802aa Merge pull request #397 from nicokoch/khr_extensions_support
Khr extensions support
2017-03-06 14:18:48 +01:00
Nicolas Koch
a472763498 CHeck for VK_KHR_mirror_clamp_to_edge extension 2017-03-06 13:33:01 +01:00
Nicolas Koch
cc3c1fb567 Remove more unsupported extensions 2017-03-06 13:18:57 +01:00
Nicolas Koch
7b5850aeff Remove unsupported extensions from DeviceExtensions 2017-03-06 11:56:23 +01:00
Nicolas Koch
2a9742937b Fix trimcommandpool positioning 2017-03-06 01:17:02 +01:00
Nicolas Koch
2a41be2d59 Improve error reporting on missing extensions during device creation 2017-03-06 01:05:48 +01:00
Nicolas Koch
536bb503f9 Add support for VK_KHR_shader_draw_parameters 2017-03-06 00:37:56 +01:00
Nicolas Koch
1095c93510 Add support for VK_KHR_sampler_mirror_clamp_to_edge 2017-03-06 00:32:40 +01:00
Nicolas Koch
1b8bfb6ea4 Change physical_device_properties2 function pointers to instance pointers 2017-03-06 00:28:54 +01:00
Nicolas Koch
236f5301fc Add support for VK_KHR_push_descriptor 2017-03-06 00:26:44 +01:00
Pierre Krieger
e3877d2133 Speed up compilation by 48000% 2017-03-05 21:15:51 +01:00
Pierre Krieger
a56e64cc31 Add buffers_list and images_list methods to descriptor sets 2017-03-05 20:52:58 +01:00
Nicolas Koch
ffeba972da Add support for VK_KHR_get_physical_device_properties2 2017-03-05 20:21:07 +01:00
Pierre Krieger
a690a63837 Rework DescriptorSetDesc and require it 2017-03-05 19:48:52 +01:00
Pierre Krieger
bbe1d3369a Minor documentation in descriptor sets 2017-03-05 19:33:10 +01:00
Pierre Krieger
91eca697a9 Add access check methods on CommandBuffer trait 2017-03-05 18:33:48 +01:00