Christian Sdunek
fa6d56de76
Fix layer count check in swapchain constructor ( #817 )
2017-09-10 13:02:53 +02:00
tomaka
9abc9e431d
Simplify BufferAccess and ImageAccess ( #811 )
2017-09-09 09:11:58 +02:00
tomaka
bdf026a78b
Propagate allocation errors to CpuBufferPool::next() and chunk() ( #809 )
...
* Propagate allocation errors to CpuBufferPool::next() and chunk()
* Add entry in CHANGELOG
2017-09-09 08:55:20 +02:00
tomaka
e0d700a044
Remove the unused CommandBufferBuild trait ( #813 )
2017-09-07 19:33:12 +02:00
tomaka
df9d2f60db
Remove some TODOs ( #812 )
2017-09-07 19:33:04 +02:00
tomaka
885f21c96a
Fix warnings in the build ( #814 )
2017-09-07 19:32:57 +02:00
tomaka
c70f3efb6b
Add some debug assertions for set_scissor ( #810 )
2017-09-07 16:52:41 +02:00
tomaka
9662f8b092
Run rustfmt on the code ( #807 )
...
* Run rustfmt on the code
* Fix compilation
2017-09-06 21:35:06 +02:00
tomaka
5ac98f53f1
Publish 0.6.2 ( #806 )
2017-09-06 15:47:46 +02:00
tomaka
e1854da9f9
Added a changelog ( #805 )
2017-09-06 14:36:06 +02:00
tomaka
80e965aef5
Fix the StdDescriptorPool being destroyed too often ( #801 )
...
* Fix the StdDescriptorPool being destroyed too often
* Add a test
2017-09-06 09:40:50 +02:00
tomaka
dffb55ecfc
Update crossbeam to 0.3 ( #803 )
2017-09-06 09:40:43 +02:00
tomaka
6d50ef2891
Improvements for the StandardCommandPool ( #800 )
...
* Fix the Arc<StandardCommandPool> being destroyed every time
* Simplify code for alloc
* Add test
2017-09-06 09:40:19 +02:00
tomaka
883d0cb94e
Allow non-snake-case for specialization constants ( #799 )
2017-09-04 13:16:17 +02:00
tomaka
e2b63b8184
Correctly take image mipmaps into account ( #797 )
...
* Add mipmap_dimensions() and num_mipmaps()
* Correctly check mipmaps count in blit_image
* Use num_mipmaps() in UnsafeImage
* Use mipmap_dimensions() in check_copy_buffer_image()
* Documentation and rename to max_mipmaps()
2017-09-04 13:16:06 +02:00
tomaka
9f3f2dc000
Allow non_snake_case for auto-generated structs ( #796 )
2017-09-02 20:04:07 +02:00
Layl
3911761c0a
Fixes blitting validation ( #794 )
...
* Fixes blitting validation
* Fix blitting format type validation (#793 )
2017-08-31 17:24:37 +02:00
Layl
5270ac0029
Fixes check_blit_image ( #792 )
...
Fixes inverted checks and a check on the wrong structure in `check_blit_image`
2017-08-31 07:49:34 +02:00
tomaka
5167274709
Pass a Limits struct to check_desc_against_limits ( #790 )
2017-08-29 18:08:41 +02:00
Jeroen Bollen
3f98247403
Implement device::QueuesIter::device(&self)
. ( #789 )
...
* Implement `device::QueuesIter::device(&self)`.
This function allows one to retrieve the device the queues were generated for.
* Implement `device::DeviceOwned` for device queues.
Implement `device::DeviceOwned` for `device::QueuesIter` and `device::Queue`. This does not deprecate the function `device::Queue::device(&self)` as requested by @tomake, as this would have effects all
throughout the codebase.
2017-08-29 18:08:31 +02:00
tomaka
ac4172b397
Check the descriptor sets compatibility when drawing ( #788 )
2017-08-28 20:31:26 +02:00
tomaka
bbba9ee4c9
Extract the Limits struct in its own module ( #785 )
...
* Extract the Limits struct in its own module
* Fix compilation
2017-08-28 20:31:18 +02:00
tomaka
9bf5e7f252
Remove the guide examples ( #784 )
2017-08-28 20:31:10 +02:00
tomaka
96163e1a93
Add a test for specialization constants in a compute pipeline ( #782 )
2017-08-28 11:39:54 +02:00
tomaka
6c81d8081a
Make the Layout generated by vulkano-shaders entirely public ( #787 )
2017-08-28 11:39:40 +02:00
tomaka
9227c6ba8d
Remove Option in UnsafeCommandPoolAllocIter ( #786 )
2017-08-28 11:39:30 +02:00
tomaka
a630a5efb1
Publish 0.6.1 ( #783 )
2017-08-27 10:56:28 +02:00
tomaka
e07cbf1d49
Add the logo to the README ( #779 )
...
* Add the logo to the README
* Try fix style
* Try fix style
2017-08-27 10:04:37 +02:00
tomaka
2cbdb288d4
Make specialization constants work ( #780 )
...
* Add new template parameters for GraphicsPipelineBuilder
* Add support for the specialization constants in build()
* Fix SpecializationConstants fields being private
* Fix lifetime problem in SpecializationConstants::descriptors()
* Run rustfmt on builder.rs
2017-08-27 10:04:18 +02:00
tomaka
a54281f8ec
Add a link to the README in the Cargo.toml ( #751 )
2017-08-27 10:04:11 +02:00
tomaka
e37c136090
More documentation for SpecializationConstants ( #778 )
...
* More documentation for SpecializationConstants
* Fix doctest
2017-08-26 21:06:23 +02:00
tomaka
a8058022bd
Continue cleanup of the graphics pipeline builder code ( #777 )
...
* Move GraphicsPipeline::new_inner() as GraphicsPipelineBuilder::build()
* Move GraphicsPipelineCreationError to a separate module
* Remove GraphicsPipelineParams
Signed-off-by: tomaka <pierre.krieger1708@gmail.com>
* Remove GraphicsPipelineParamsTess
Signed-off-by: tomaka <pierre.krieger1708@gmail.com>
2017-08-26 13:06:05 +02:00
tomaka
5207f8a703
Reflect specialization constants in vulkano-shaders ( #774 )
2017-08-26 11:34:00 +02:00
tomaka
799b508a31
Use a lock-free queue in the FixedSizeDescriptorSetsPool ( #771 )
2017-08-26 09:51:35 +02:00
Gabriel Majeri
08a4dbe6e1
Fix ApplicationInfo::from_cargo_toml
( #776 )
...
* Replace `from_cargo_toml` with a macro
* Update docs
* Use `None` as ApplicationInfo default
* Re-add and deprecate the old function
* Fix doctest
* Rename macro to `app_info_from_cargo_toml`
* Update deprecated note
* Fix build
2017-08-26 08:07:16 +02:00
tomaka
0b126e58a9
Derive Clone for GraphicsPipelineBuilder ( #775 )
2017-08-25 15:26:23 +02:00
tomaka
34027ac6e7
More documentation for buffers ( #763 )
2017-08-25 11:49:29 +02:00
tomaka
f13454dc6e
Use SmallVec::truncate in state_cacher ( #770 )
2017-08-25 11:48:58 +02:00
tomaka
1640220ebf
More fixes in limits_check ( #773 )
2017-08-25 11:48:13 +02:00
tomaka
2f9c9ff6b0
Update link to triangle example ( #767 )
2017-08-25 11:48:05 +02:00
tomaka
361c969fb6
Remove some unused variables and functions ( #766 )
2017-08-24 17:36:54 +02:00
Gabriel Majeri
ceb4ebdc95
Add more badges ( #768 )
2017-08-24 14:47:39 +02:00
tomaka
0f05fc8d57
Fix number of sets in vulkano-shaders ( #764 )
2017-08-23 18:07:54 +02:00
tomaka
2f2b97e5d5
Add some constructors to CpuBufferPool ( #752 )
2017-08-23 15:47:46 +02:00
tomaka
4208814e74
Fix #760 ( #761 )
2017-08-23 15:45:37 +02:00
tomaka
94c376c268
Check pipeline layout limits ( #757 )
...
* Check pipeline layout limits
* Fix copyright year
* Fix unimplemented!() for PipelineLayoutLimitsError
* Fix style
* Fix minor mistake
2017-08-22 14:29:28 +02:00
tomaka
06a0b3715f
Fix #749 ( #755 )
...
* Fix #749
* Fix gpu access methods
2017-08-21 11:07:42 +02:00
Gabriel Majeri
6874eced95
Prevent creating a new swapchain from a stale one ( #754 )
...
* Prevent recreating a stale swapchain
* Update comments and docs
* Update comments
* Remove quotes
* Remove `Swapchain::new` comment
2017-08-20 19:46:26 +02:00
Gabriel Majeri
ebf902eaeb
Add more examples to swapchain
docs ( #753 )
2017-08-20 11:00:52 +02:00
Matteo De Carlo
d55a4d6d7c
Add Surface::new() ( #748 )
...
* Add Surface::new()
Creates a `Surface` given the raw handler
* Surface::from_raw_surface instead of new
and removed useless clone
2017-08-18 22:04:10 +02:00