Commit Graph

1918 Commits

Author SHA1 Message Date
Samuel Sleight
f20e28de25 Removed debug println 2017-06-05 18:50:08 +01:00
Samuel Sleight
214164bf01 Added support for #[src=filename] 2017-06-05 18:45:01 +01:00
tomaka
08520b41d3 Merge pull request #498 from tomaka/obsolete-comment
Remove obsolete comment
2017-06-04 14:46:13 +02:00
Pierre Krieger
e2320ec1a5 Remove obsolete comment 2017-06-04 14:27:47 +02:00
tomaka
3b20aed990 Merge pull request #495 from tomaka/link-docs
Add links to the crate root docs
2017-06-04 10:40:14 +02:00
tomaka
6638619a3c Merge pull request #496 from Ralith/fix-update-buffer
Remove dead data causing update_buffer to be unusable
2017-06-04 10:39:28 +02:00
Benjamin Saunders
cfda4874b3 Remove dead data causing update_buffer to be unusable
Fixes #493
2017-06-04 01:19:19 -07:00
Pierre Krieger
184f6827b7 Add links to the crate root docs 2017-06-04 10:15:06 +02:00
tomaka
a9ea865748 Merge pull request #491 from tomaka/0.4.0
Publish 0.4.0 and update the README
2017-06-03 17:31:38 +02:00
tomaka
70bfc8bf2a Merge pull request #492 from tomaka/multisampled-attachment
Allow creating multisampled attachment images
2017-06-03 16:40:46 +02:00
Pierre Krieger
cf3dd78023 Allow creating multisampled attachment images 2017-06-03 16:13:38 +02:00
Pierre Krieger
9b4c6e922b Publish 0.4.0 2017-06-03 13:40:42 +02:00
tomaka
a9869afdca Merge pull request #489 from tomaka/examples-derive
Use vulkano-shader-derive in the examples
2017-06-03 13:25:51 +02:00
tomaka
da6faac1f3 Merge pull request #301 from tomaka/moltenvk
Support for MoltenVK
2017-06-03 13:24:55 +02:00
Pierre Krieger
41eb21c291 Merge branch 'master' into moltenvk 2017-06-03 13:04:17 +02:00
tomaka
99fb6011e1 Merge pull request #488 from tomaka/ignore-mem-test
Ignore a failing test for now
2017-06-03 12:58:40 +02:00
Pierre Krieger
ad3307d252 Use vulkano-shader-derive in the examples 2017-06-03 12:49:50 +02:00
Pierre Krieger
6e8a9eb2f3 Ignore a failing test for now 2017-06-03 12:42:05 +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