Commit Graph

1743 Commits

Author SHA1 Message Date
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
Pierre Krieger
91eff93c09 Add pipeline stages report system in futures 2017-03-05 18:10:27 +01:00
Nicolas Koch
a272139915 Add support for VK_KHR_descriptor_update_template 2017-03-05 16:39:03 +01:00
Nicolas Koch
c38e15eaae Add support for VK_KHR_maintenance1 2017-03-05 14:35:21 +01:00
Pierre Krieger
2b91978077 Fix warning in code generated by impl_vertex! 2017-03-05 14:02:35 +01:00
Pierre Krieger
11c9fc9f87 Add small comment 2017-03-04 20:09:40 +01:00
Pierre Krieger
8ed20f933c Change GpuFuture::is_finished to cleanup_finished 2017-03-04 20:05:36 +01:00
Pierre Krieger
e4012ed3fe Make the content of FenceSignalFuture optional 2017-03-04 19:38:12 +01:00
Pierre Krieger
f92b8880b8 Implement GPU sync for DeviceLocalBuffer 2017-03-04 19:32:02 +01:00
Pierre Krieger
5bf1114fe7 Implement GPU locks for attachment and storage images 2017-03-04 18:28:12 +01:00
Pierre Krieger
662c78f870 Rename sync functions on Buffer and Image
cc #392
2017-03-03 20:31:40 +01:00
Pierre Krieger
72ee6ddbde Allow unused imports in simple_descriptor_set! 2017-03-02 18:01:50 +01:00