Pierre Krieger
6e8a9eb2f3
Ignore a failing test for now
2017-06-03 12:42:05 +02:00
Pierre Krieger
02ba8375e4
Use cargo test --all for travis
2017-06-03 11:25:14 +02:00
tomaka
77797d0eec
Merge pull request #486 from tomaka/fb-cleanup
...
Lots of cleanups in the framebuffer modules
2017-06-03 11:20:39 +02:00
tomaka
2d09530a4d
Merge pull request #487 from tomaka/atch-img-format-default
...
Add default generic parameter for AttachmentImage
2017-06-03 11:20:34 +02:00
Pierre Krieger
b994f3baee
Add default generic parameter for AttachmentImage
2017-06-03 10:54:19 +02:00
Pierre Krieger
f70153a2d3
Remove TODO from Framebuffer
2017-06-03 10:49:23 +02:00
Pierre Krieger
1e8700e85b
Implement Debug for FramebufferBuilder
2017-06-03 10:49:08 +02:00
Pierre Krieger
974be84234
Allow attachments larger than specified dimensions
2017-06-03 10:37:41 +02:00
Pierre Krieger
683a2d6882
Fix doctests
2017-06-03 10:32:10 +02:00
Pierre Krieger
417405313f
Reexport FramebufferBuilder
2017-06-03 10:30:40 +02:00
Pierre Krieger
0d095ee0e1
Rework Framebuffer documentation
2017-06-03 10:30:23 +02:00
Pierre Krieger
f81285c98f
More precise FramebufferCreationError
2017-06-03 10:14:48 +02:00
Pierre Krieger
dc51879d3f
Add back tests to framebuffer
2017-06-03 09:58:02 +02:00
Pierre Krieger
8976d2385f
Remove num_attachments member
2017-06-03 09:40:42 +02:00
Pierre Krieger
1ce3a16d06
Build the raw IDs in the framebuffer builder
2017-06-03 09:39:26 +02:00
Pierre Krieger
75035d8b2c
Correctly check attachments dimensions
2017-06-03 09:33:08 +02:00
Pierre Krieger
2e1ad819f6
Remove RenderPassDescAttachmentsList
2017-06-03 08:48:01 +02:00
tomaka
b3b4895cf4
Merge pull request #485 from tomaka/rm-fb-macros
...
Remove custom framebuffer clear values and stuff and rework framebuffer creation
2017-06-02 21:13:58 +02:00
Pierre Krieger
db3e128143
Rework framebuffer creation
2017-06-02 20:36:43 +02:00
Pierre Krieger
1afbdde27f
Remove custom framebuffer clear values and stuff
2017-06-02 17:29:06 +02:00
tomaka
4defc0f4b5
Merge pull request #480 from tomaka/swapchain-work
...
Swapchain work
2017-06-02 11:17:51 +02:00
tomaka
54303f899d
Merge pull request #484 from Migi/master
...
Future-proof a dependency on type inference
2017-05-30 20:00:27 +02:00
Michiel De Muynck
1e7edf1239
Future-proof a dependency on type inference
...
In the Rust compiler, a pull request is being considered (see GitHub PR
rust-lang/rust#41336 ) that will add support for a |= &b (instead of
only a |= b) for numeric types like u64.
Unfortunately, this breaks the build of vulkano, because vulkano
currently does the following in pipeline_barrier.rs:
self.src_stage_mask |= source.into();
self.dst_stage_mask |= dest.into();
Rust is currently able to infer that the result of source.into() must
be a vk::PipelineStageFlags, because it gets bitor-ed to one.
But if the PR on the compiler is accepted, this type inference will no
longer be possible, because the return value of source.into() might
then also be &'a vk::PipelineStageFlags for some lifetime 'a.
This commit specifies the output type of the conversion explicitly,
so that it doesn't require any type inference.
2017-05-30 19:01:23 +02:00
Pierre Krieger
de5ce3057b
Disable heap size check when allocating memory
2017-05-30 13:24:26 +02:00
tomaka
42dc40ba71
Merge pull request #481 from tomaka/fb-desc-rename
...
Rename methods of RenderPassDesc
2017-05-26 21:25:28 +02:00
tomaka
c1be5450ae
Merge pull request #482 from tomaka/mvk-progress
...
MoltenVK: Follow-up for added code to get to OutOfDeviceMemory error
2017-05-26 21:14:27 +02:00
Pierre Krieger
c6fb7a84bd
Use #[cfg] for the OSX code in vulkano-win
2017-05-26 20:26:05 +02:00
Pierre Krieger
c5bcfe640e
Rename methods of RenderPassDesc
2017-05-26 20:14:22 +02:00
Pierre Krieger
953b89f52e
Architectural rework in swapchain
2017-05-26 13:12:21 +02:00
Pierre Krieger
1e3b6aae80
Add FIXME for later
2017-05-26 10:53:47 +02:00
Pierre Krieger
a3c30dc183
Creating a Surface now takes the Arc<Instance> by value
2017-05-26 10:51:28 +02:00
Pierre Krieger
0d918e3779
Rework Surface::is_supported() and update examples
2017-05-26 10:42:03 +02:00
Pierre Krieger
8ada949322
Rework Surface::capabilities()
2017-05-26 10:39:32 +02:00
Pierre Krieger
5263055dae
Extract surface capabilities to own module
2017-05-26 10:31:55 +02:00
tomaka
c1aee1cf15
Merge pull request #479 from tomaka/warning-fix
...
Small warning fix
2017-05-26 10:23:36 +02:00
Pierre Krieger
7661a9becb
Small warning fix
2017-05-26 10:09:42 +02:00
tomaka
7f1743667e
Merge pull request #478 from tomaka/device-by-value
...
Turn all the constructor that take a &Arc<Device> to Arc<Device>
2017-05-26 10:03:23 +02:00
Pierre Krieger
6d106565d3
Turn all the constructor that take a &Arc<Device> to Arc<Device>
2017-05-25 21:44:54 +02:00
tomaka
bd31cc6edf
Merge pull request #477 from tomaka/framebuffer-check
...
Check attachment compatibility when creating a framebuffer
2017-05-25 20:50:26 +02:00
tomaka
7fdf4cb809
Merge pull request #472 from tomaka/device-wait
...
Change Device::wait()
2017-05-25 20:50:19 +02:00
tomaka
7c70dd7e01
Merge pull request #473 from tomaka/fence-future-wait
...
Add FenceSignalFuture::wait()
2017-05-25 20:50:06 +02:00
tomaka
e5c09e230f
Minor work on compat_atch tests
2017-05-25 18:24:24 +02:00
tomaka
496081e361
Add some basic tests in compat_atch
2017-05-25 15:40:20 +02:00
tomaka
ccccd48268
Return an error in empty RP desc when using atchments
2017-05-25 15:32:23 +02:00
tomaka
faca3d9917
Check attachment compatibility when creating fb
2017-05-25 15:27:45 +02:00
tomaka
91dca92a7f
Merge pull request #475 from tomaka/vertex-extract
...
Extract "vertex.rs" module to own directory
2017-05-23 17:46:08 +02:00
Pierre Krieger
a62dff2717
Extract "vertex.rs" module to own directory
2017-05-23 17:02:56 +02:00
Andrew P. Lentvorski
40e0b24127
added code to get to OutOfDeviceMemory error
2017-05-22 09:52:36 -07:00
Pierre Krieger
76e6a9235b
Add FenceSignalFuture::wait()
2017-05-22 13:30:19 +02:00
Pierre Krieger
8ff069230a
Change Device::wait()
2017-05-22 10:26:43 +02:00