Commit Graph

3876 Commits

Author SHA1 Message Date
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
Pierre Krieger
cbd617bbf2 Ensure images are in their correct layout at the end of a CB 2016-03-25 13:10:13 +01:00
Pierre Krieger
f164526665 Some general work on image layouts 2016-03-25 12:13:59 +01:00
Pierre Krieger
3d9f18e298 Switch to staging system when building the CB 2016-03-25 09:32:32 +01:00
Pierre Krieger
35ef5d37e8 Draft for image pipeline barriers management 2016-03-24 18:28:12 +01:00
Pierre Krieger
8e6eefba41 Some work on buffers pipeline barriers 2016-03-24 18:12:33 +01:00
Pierre Krieger
1791baad99 Rework buffers range handling 2016-03-24 18:01:32 +01:00
Pierre Krieger
a9da9e60ea Add merge_extern_buffer_access and some tests 2016-03-24 16:56:53 +01:00
Pierre Krieger
661adf87da Draft for automatic pipeline barriers generation 2016-03-24 14:34:26 +01:00
Pierre Krieger
d7e3f29b86 Add BufferKey and ImageKey 2016-03-24 10:42:31 +01:00
Pierre Krieger
41f7ce3b8d Simplify objects keep alive in inner command buffer builder 2016-03-24 10:00:15 +01:00
Pierre Krieger
a50e91fafe Rename some variables in InnerCommandBufferBuilder 2016-03-24 09:46:26 +01:00
Pierre Krieger
b55ec366a9 Fix teapot viewport 2016-03-24 09:27:04 +01:00
Pierre Krieger
785385e3ef Wait for u64::MAX nanoseconds instead of 5 seconds 2016-03-24 09:22:08 +01:00
Pierre Krieger
a3cd48872a Fix thing that's not supposed to have compiled 2016-03-24 09:19:34 +01:00
Pierre Krieger
fcaa29a2a2 Properly handle error when waiting on the Fence 2016-03-24 09:17:31 +01:00
Pierre Krieger
7d63a7c641 Add some docs to submissions 2016-03-24 09:14:27 +01:00
Pierre Krieger
88a362ad6e Remove deprecated stuff from the memory module 2016-03-24 09:14:26 +01:00
Pierre Krieger
8ee4d6c301 Switch to new design for images 2016-03-24 09:14:26 +01:00
Pierre Krieger
da109b79b8 Add SwapchainImage 2016-03-24 09:14:25 +01:00
Pierre Krieger
50d71b2900 Add SwapchainImage struct 2016-03-24 09:14:24 +01:00
Pierre Krieger
c191bb2ba3 Some work 2016-03-24 09:14:24 +01:00
Pierre Krieger
775d2bb6f8 Draft for implementation of the Image trait 2016-03-24 09:14:23 +01:00
Pierre Krieger
09a7d3c5d9 Pass an iterator of ranges to Buffer::gpu_access 2016-03-24 09:14:23 +01:00