Commit Graph

649 Commits

Author SHA1 Message Date
Pierre Krieger
0aff3eb75a Minor documentation and changes in image/sys 2016-03-27 10:27:13 +02:00
Pierre Krieger
b92b82c971 Minor fix in layout transition 2016-03-27 09:27:26 +02:00
Pierre Krieger
4c905f630c Bugfix in attachment layout transition 2016-03-27 09:10:42 +02:00
Pierre Krieger
5945202b5c Fix wrong instances number again 2016-03-26 21:30:42 +01:00
Pierre Krieger
00452fef23 Fix warning in build.rs 2016-03-26 20:16:36 +01:00
Pierre Krieger
46a93b439c Transition AttachmentImages to correct layout 2016-03-26 20:08:31 +01:00
Pierre Krieger
0ce6c5a1f9 Handle pre- and post- image transitions at submission 2016-03-26 20:08:16 +01:00
Pierre Krieger
3b109e00d7 Use one-shot semaphores for now until stuff is stable 2016-03-26 17:57:56 +01:00
Pierre Krieger
8c8de837a0 Fix AMD kernel driver crash 2016-03-26 16:52:40 +01:00
Pierre Krieger
3675371fc1 Fix wrong mipmap levels and array layers for image barriers 2016-03-26 16:40:41 +01:00
Pierre Krieger
1f9fb16dfc Fix examples not stopping when the window is closed 2016-03-26 16:34:51 +01:00
Pierre Krieger
5fcc9b03a9 Fix using one of the dependency's semaphores when it's not needed 2016-03-26 14:37:23 +01:00
Pierre Krieger
cd29f595c5 Correctly handle secondary command buffers with pipeline barriers 2016-03-26 14:11:02 +01:00
Pierre Krieger
21e720b211 Fix pipeline barriers in secondary command buffers 2016-03-26 13:53:47 +01:00
Pierre Krieger
0cce2fc8fb Use a semaphores pool in the swapchain 2016-03-26 12:49:19 +01:00
Pierre Krieger
0b644f1eb8 Correctly handle swapchain image semaphores 2016-03-26 12:14:04 +01:00
Pierre Krieger
7f9467d0b2 Correctly handle swapchain images synchronization 2016-03-26 12:10:46 +01:00
Pierre Krieger
5f1b71a467 Remove some obsolete FIXMEs 2016-03-26 11:08:38 +01:00
Pierre Krieger
60534cbd41 Fix unimplemented!() when creating concurrent-queues buffers/images 2016-03-26 10:55:42 +01:00
Pierre Krieger
045175f40d Remove MappedDeviceMemory::mapping_pointer 2016-03-26 10:41:59 +01:00
Pierre Krieger
d9d4041f2f Some cleanup in MappedDeviceMemory 2016-03-26 10:35:06 +01:00
Pierre Krieger
3d6a29241c Add license everywhere 2016-03-26 10:17:37 +01:00
Pierre Krieger
0f640cd27c Fix offsets and sizes in buffer barriers 2016-03-26 09:58:59 +01:00
Pierre Krieger
8d251a6eb7 Correctly implement CPU-side synchronization in cpu_access 2016-03-25 22:35:00 +01:00
Pierre Krieger
6f31fb976d Add block parameter to Buffer::host_accesses 2016-03-25 22:01:12 +01:00
Pierre Krieger
06d752c8c1 Add pipeline barriers to flush buffers to host 2016-03-25 21:56:00 +01:00
Pierre Krieger
2f954ac6c2 Remove obsolete § in FEATURES.md 2016-03-25 21:35:45 +01:00
Pierre Krieger
9a8c0de0c6 Add access masks system 2016-03-25 21:32:42 +01:00
Pierre Krieger
d9e64956db Add system for pipeline barrier stages 2016-03-25 21:08:24 +01:00
Pierre Krieger
363fcc1417 Use correct synchronization for AttachmentImage 2016-03-25 19:40:37 +01:00
Pierre Krieger
d8641fa8b3 Some preliminary work for correct SwapchainImage implementation 2016-03-25 18:47:36 +01:00
Pierre Krieger
e07949173d Fix secondary command buffers being broken 2016-03-25 18:47:19 +01:00
Pierre Krieger
ac3b42fce1 Fix AttachmentImage not being usable as input attachment 2016-03-25 18:46:53 +01:00
Pierre Krieger
e2fb46a11c Fix render pass macro in case of multiple subpasses 2016-03-25 17:45:20 +01:00
Pierre Krieger
fdcf942ece Fix image example 2016-03-25 17:29:05 +01:00
Pierre Krieger
79544f36ce Add ImmutableImage 2016-03-25 17:28:58 +01:00
Pierre Krieger
c723018fba Check for conflicts within single commands 2016-03-25 16:55:57 +01:00
Pierre Krieger
724d29663b Fix warning in macro-generated code 2016-03-25 16:38:33 +01:00
Pierre Krieger
f8a812268b Always allow unsafe code within the render pass macros 2016-03-25 16:36:41 +01:00
tomaka
fc72d66b04 Merge pull request #13 from tomaka/img-buf-wrappers
Img buf wrappers
2016-03-25 16:22:09 +01:00
Pierre Krieger
b7fb160e62 Fix viewport in teapot example 2016-03-25 16:21:56 +01:00
Pierre Krieger
1971060320 Automatically determine the initial and final layouts of attachments 2016-03-25 16:16:19 +01:00
Pierre Krieger
fd30bdd7bc Move the build function at the right place 2016-03-25 15:45:21 +01:00
Pierre Krieger
1c8a5d616e Rename aspect to aspects 2016-03-25 15:42:19 +01:00
Pierre Krieger
94c283b013 Improve the handling of AttachmentImage 2016-03-25 15:39:53 +01:00
Pierre Krieger
4ce2783b37 Only generate buffer barriers when necessary 2016-03-25 15:34:36 +01:00
Pierre Krieger
e51b777bc7 Fix bug in final layout transition 2016-03-25 15:26:49 +01:00
Pierre Krieger
39da454bd2 Handle image layout transitions for render pass attachments 2016-03-25 15:08:48 +01:00
Pierre Krieger
fd7ad318e2 Fix bug in end_renderpass 2016-03-25 14:10:14 +01:00
Pierre Krieger
72cd687d23 Fix implementations of add_image and add_buffer 2016-03-25 13:40:57 +01:00