Rua
bdcb79609e
Update render pass checks for new VUID ( #2055 )
2022-10-30 04:37:34 -05:00
marc0246
d5d47d7757
Further improvements to command buffer allocation ( #2053 )
2022-10-29 19:34:07 +02:00
marc0246
8a1c91f556
Make command buffer/descriptor set allocators Sync
again ( #2046 )
...
* Make cmd buffer/desc set allocators `Sync` again
* Ingles
2022-10-27 20:59:47 +02:00
marc0246
34b709547f
Memory allocation revamp ( #1997 )
...
* Add suballocators
* Add tests
* Retroactively abort `PoolAllocatorCreateInfo`
* Use const generic for `PoolAllocator`'s block size
* Move `new` and `try_into_region` to `Suballocator`
* Move `allocate_unchecked` to `Suballocator`
* Fix constructor visibility
* Move `free_size` to `Suballocator`
* Small fixes
* Merge `BumpAllocator` and `SyncBumpAllocator`
* Restrict `AllocParent::None` to tests
* Rewording
* Add dedicated allocations
* Add `Suballocator::cleanup`
* Make `free_size`s lock-free
* Add `Suballocator::largest_free_chunk`
* Add `ArrayVec`
* Remove useless `unsafe`
* Add `MemoryAllocator`
* Add `GenericMemoryAllocator`
* Small fixes
* Retroactively abort `largest_free_chunk`
* Small docs adjustments
* Rearrange
* Add `MemoryAlloc::mapped_ptr`
* Fix oopsie
* Add support for non-coherent mapped memory
* Add `DeviceOwned` subtrait to `Suballocator`
* Move granularities to suballocators, fix tests
* Add cache control
* Fix oopsie where alignment of 0 is possible
* Store `Arc<DeviceMemory>` in suballocators
* Add `MemoryAllocator::create_{buffer, image}`
* Remove `MemoryPool`
* Fix examples
* Remove `MemoryAlloc::{memory, memory_type_index}`
* Minor improvement to `AllocationCreationError`
* Add some example docs
* Add support for external memory
* Swicheroo
* Small fix
* Shorten sm names, cache atom size in suballocators
* Add config for allocation type to generic allocatr
* Engrish
* Fix a big oopsie
* Spliteroo
* Inglisch
2022-10-26 16:25:01 +02:00
Rua
0b5ad98b44
Move resource locking to submit
function ( #2041 )
2022-10-23 17:29:40 -05:00
Rua
cdab36a322
Remove type parameter from Surface
( #2036 )
2022-10-20 02:26:34 -05:00
Rua
43223f564b
Add safety checks to semaphores, add importing and exporting ( #2035 )
...
* Add safety checks to semaphores, add importing and exporting
* Small fix
* Limit test to unix only
2022-10-12 19:04:54 -05:00
Rua
df26f8105e
Buffer and image uploads take a command buffer instead of making one ( #2030 )
2022-10-08 08:22:37 -05:00
marc0246
3c6c1c909f
Remove unneccessary mut
s left after #1957 ( #2029 )
2022-10-07 08:59:54 +02:00
marc0246
ef65c98ad1
Move to manual management of descriptor set and command buffer allocators ( #1957 )
...
* Rename `Pool` -> `Allocator`
* Fix module names
* Rename actual pool types
* Remove internally managed allocators
* Fix doc tests
* Update docs
* Update examples
* Fix merging oopsie
* Fix cb allocators only working for one q family
* Make `DescriptorPool` `!Sync`, remove `&mut`
* Combine lean files
* Consistency
* Rename single layout pools
* Re-export variable descriptor set pool
Co-authored-by: comrademarc <40955683+comrademarc@users.noreply.github.com>
2022-10-05 11:09:26 +02:00
Austin Johnson
6e4d8c3494
Swapchain acquisition checks ( #2009 )
...
* Initial solution to swapchain acquisition checks
* replace internal_object comparisons
2022-10-02 10:44:46 +02:00
Rua
f96519a8a3
Add state tracking and validation to Fence
( #2010 )
...
* Add state tracking and validation to `Fence`
* Forgot bind_sparse
2022-10-01 21:32:17 -05:00
Rua
6b19b6ccf4
Remove command_buffer::submit
module, make new Queue
methods public ( #2002 )
2022-09-27 02:58:47 -05:00
Rua
c085dd8d9f
Queue operations refactoring ( #1995 )
2022-09-24 01:45:06 -05:00
Rua
0bab019d10
Treat atomic writes in shaders as write accesses ( #1989 )
2022-09-18 02:45:55 -05:00
Austin Johnson
8f99ceab32
Example Tweaks ( #1987 )
...
* Example Tweaks
* use released glium
2022-09-17 17:37:22 +02:00
Rua
46187e85fb
Rename next
and chunk
methods of CpuBufferPool
for consistency ( #1978 )
2022-09-17 02:51:26 -05:00
Austin Johnson
8e8482016a
Impl Present Wait Feature ( #1965 )
...
* impl present_wait feature
* handle timeout case
* add missing doc
* document the return type of wait_for_present
* impl check for VUID-04999
* don't enforce gt if present_id is zero
* impl PresentInfoExt
* Remove NonZeroU64 from wait_for_present in favor of an error
* fix gl-interop example
* fix docs and fmt
* PresentInfoExt -> PresentInfo, Added swapchain + index to info
* fix doc test, didn't save file...
* fix gl-interop
* Remove Whitespace
2022-09-17 09:38:32 +02:00
Codotaku
e0af8af960
fix ( #1977 )
2022-09-13 21:11:54 +02:00
Rua
e99ad4fce5
Add khr_external_fence and remaining parts of khr_external_semaphore ( #1972 )
2022-09-13 04:07:10 -05:00
Rua
4abc27b9e5
Make PhysicalDevice
an independent object ( #1967 )
...
* Better validation and errors
* Small fix
* Make `PhysicalDevice` an independent object
Co-authored-by: Austin Johnson <me@austinj.work>
2022-09-10 01:00:08 -05:00
Rua
2705984c77
Macrofy all Vulkan bitflag and enum types, check for device support ( #1964 )
2022-09-05 15:16:40 -05:00
Rua
f96768f556
Slight change
2022-09-05 15:57:53 +02:00
Rua
5a1df026dc
Reword for clarity
2022-09-05 15:57:11 +02:00
Rua
f77644bcef
Refactor bind/push commands ( #1962 )
2022-09-02 11:02:41 -05:00
Rua
f0e6e4c6b7
Fix or allow all Clippy errors, re-enable dead code and unused variable warnings ( #1953 )
2022-08-12 05:18:35 -05:00
antonino maniscalco
77e59002de
Merged ImmutableBuffer
into DeviceLocalBuffer
#1934 ( #1936 )
...
* Merged `ImmutableBuffer` into `DeviceLocalBuffer` #1934
* Updated documentation
2022-07-31 11:54:46 +02:00
Rua
14f14f76ee
Update winit to 0.27 ( #1933 )
...
* Update winit to 0.27
* Fix windows
* Better fix?
2022-07-30 01:58:44 -05:00
Rua
6a755cd2f3
Add VulkanLibrary
as first initialization step before Instance
( #1932 )
...
* Add `VulkanLibrary` as first initialization step before `Instance`
* Fix MacOS error
* Fix Vulkano-utils
2022-07-30 01:53:52 -05:00
Austin Johnson
df97b2c55f
Support for VK_KHR_portability_subset Devices ( #1927 )
...
* opt-in portability
* Only enable portability flag if extension is present
Automatically enable khr_portability_subset on Device; Remove required_extensions from PhysicalDevice & Device
* enable InstanceCreateInfo.enumerate_portability on all examples
* add additional documentation for enumerate_portability
2022-07-18 15:11:43 +02:00
Joseph Micheli
e8cf282e51
Documentation todos ( #1920 )
...
* Added ImageUsage::transient_input_attachment()
* Address TODOs in examples
* Added actual example to command_buffer module documentation.
* Fixed error in command_buffer example
* Check max_framebuffer_height/width/layers in AttachmentImage constructors.
* Add detailed explanation for shader! macro to triangle examples
2022-07-13 12:26:47 +02:00
Okko Hakola
18f68337a5
Vulkano util proposal ( #1918 )
...
* Init vulkano util library
* Add window & renderer structs
* Update fractal to use vulkano utils
* Add general purpose image view generation to storage image
* Add some missing functionality
* Fix game of life
* Rename error
* Fix tests
* Update documentation texts
* Modify license comment
* Add to changelog
* Improve docs
* Allow option to wait on the future
* Update doc text
* Add filter fn
* Modify queue selection
* Fix import error
* Remove non working tests
* Rename start and finish frame to acquire and present
* Allow pub creation of window renderer
* Ensure config members are pub and it has send + sync
* Remove send syncs
2022-06-24 17:27:33 +02:00
Rua
6352adf4ff
Add support for dynamic rendering ( #1902 )
2022-05-29 11:53:36 -05:00
Ryan Andersen
a89359007b
Image extent zero length ( #1893 )
...
* Updating examples and SwapchainCreationError enum to resolve #1892 and related discussion
* Slightly better documentation
2022-05-09 14:25:26 +02:00
Ryan Andersen
ba7f0b20e6
Device local example ( #1890 )
2022-05-06 18:31:08 +02:00
Rua
9e2b41a5c4
Improve render pass commands, more validation ( #1884 )
...
* Use only the selected range of buffer and image views in synchronization
* Improve render pass commands, more validation
Co-authored-by: Austin Johnson <me@austinj.work>
2022-04-23 20:16:19 -05:00
Okko Hakola
f523234e41
Fix debug utils message severity error ( #1883 )
2022-04-19 16:24:58 +02:00
Rua
201e21d3e6
Rewrite copy commands ( #1873 )
...
* Allow `SyncCommandBufferBuilder` commands to specify the access range
* Allow `SyncCommandBufferBuilder` commands to specify the access range
* Better handling of image initialization
* Small fix
* Rewrite copy commands
* Better handling of maintenance1
* Small leftovers
* Remove conflict_key
2022-04-16 15:02:42 +02:00
Rua
44e30574d9
Rename debug commands, add some new ones ( #1878 )
2022-04-16 07:54:32 -05:00
Okko Hakola
d1ab3f6726
Fix game of life example on macos ( #1829 )
2022-03-28 15:28:51 +02:00
Rua
c70fcc575f
Rework mapped memory, add BufferContents
trait with bytemuck ( #1853 )
...
* Rework mapped memory, add `BufferContents` trait with bytemuck
* Platform fix
2022-03-07 02:30:49 +07:00
Rua
9e8682fce7
Add UnsafeImageCreateInfo
and ImageViewCreateInfo
( #1844 )
2022-02-27 00:18:14 -06:00
Rua
a593fee072
Add SamplerCreateInfo
and SamplerYcbcrConversionCreateInfo
( #1842 )
2022-02-26 02:46:53 -06:00
Rua
42b4bd9441
Add CreateInfo
for Event
, Fence
and Semaphore
. ( #1841 )
...
* Add `CreateInfo` for `Event`, `Fence` and `Semaphore`.
* Small fixup
* Random idea...
* Fix CI error on Windows and Mac
2022-02-26 02:42:14 -06:00
Rua
c61ed1bfe3
Add QueryPoolCreateInfo
( #1840 )
2022-02-25 17:52:59 -06:00
Rua
786683c2a9
Add DescriptorSetLayoutCreateInfo
and PipelineLayoutCreateInfo
( #1834 )
...
* Add `DescriptorSetLayoutCreateInfo` and `PipelineLayoutCreateInfo`
* DescriptorType non_exhaustive
2022-02-25 16:52:44 -06:00
Austin Johnson
51c5d197bf
Update examples readme
...
The readme still redirected users to the vulkano-examples repository. This has since been achieved. Included a step-by-step guide to switching version tag.
2022-02-23 02:17:35 -06:00
Rua
645faa4530
Add SwapchainCreateInfo
, various related changes ( #1832 )
2022-02-20 10:55:34 +01:00
Rua
21330c747a
Add RenderPassCreateInfo
and FramebufferCreateInfo
( #1828 )
2022-02-19 18:14:16 -06:00
Rua
8775777f47
Add InstanceCreateInfo
and DeviceCreateInfo
( #1814 )
...
* Convert creation of `Instance` and `Device` to use a builder
* Big oops
* Add `InstanceCreateInfo` and `DeviceCreateInfo`
* Doc fix
* impl FromStr for Version, remove elidable qf2
2022-02-14 16:32:27 +07:00