Rua
6da1f96c73
Minimise unsafe
block size, in examples ( #2591 )
2024-10-23 12:07:00 +02:00
marc0246
ba8aa2a527
Revert #2421 , rename Raw[Recording]CommandBufer
again and move them ( #2582 )
2024-10-19 14:13:15 +02:00
marc0246
5749fef53c
Revert #2425 ( #2576 )
2024-10-18 20:00:21 +02:00
marc0246
f6bc05df94
Update dependencies ( #2571 )
...
* Update dependencies
* fmt
2024-10-10 12:16:14 +02:00
maratik123
f911996534
Code cleanup ( #2497 )
...
* refactoring
* fmt
* Update vulkano/src/command_buffer/commands/query.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/buffer/subbuffer.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/buffer/mod.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/swapchain/mod.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/sync/fence.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/sync/semaphore.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/sync/pipeline.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/descriptor_set/mod.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/image/mod.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* review fixes
* post merge fixes
* fmt
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2024-03-13 17:37:28 +01:00
stefnotch
d60677b59e
Replace cgmath with glam in the examples ( #2475 )
...
* Replace cgmath with glam in the examples
* Implement type_for_format! for glam
* Remove comment where I'm freaking out because of OpenGL flashbacks
* Update Cargo.toml
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/autogen/formats.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Fix glam type_for_format
* Format the code
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2024-02-21 09:30:15 +01:00
Rua
bef7b94aef
Fix warnings for Rust 1.75 ( #2436 )
2023-12-28 20:32:13 +01:00
Rua
289ec102e0
Document shader safety requirements, make draw/dispatch unsafe ( #2429 )
...
* Document shader safety requirements, make draw/dispatch unsafe
* Extra docs
* Doctests
* Max index value
* Small change
* Update vulkano/src/command_buffer/mod.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/command_buffer/mod.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-12-25 04:01:16 +01:00
marc0246
00bb62171f
Merge PrimaryAutoCommandBuffer
and SecondaryAutoCommandBuffer
into CommandBuffer
( #2425 )
...
* Merge `PrimaryAutoCommandBuffer` and `SecondaryAutoCommandBuffer`
* Fix docs
* Fix examples
* Move command buffer creation validation to `RawRecordingCommandBuffer`
* Fix `RawRecordingCommandBuffer::end` being safe to call
* Remove unsafe block inside `RawRecordingCommandBuffer::end`
2023-12-20 13:04:01 +01:00
marc0246
cee21d3f05
Rename command buffer types ( #2421 )
...
* Rename `UnsafeCommandBuffer[Builder]`
* Rename `AutoCommandBufferBuilder`
* `finish` -> `end`
* Clarify docs
* `CommandRecorder` -> `RecordingCommandBuffer`
2023-12-09 12:24:52 +01:00
marc0246
4cd3b74f14
Remove the command buffer traits ( #2419 )
...
* Remove command buffer traits
* Fix docs
* Fix examples
2023-12-06 17:23:24 +01:00
marc0246
43e2db0dbd
Command buffer allocator API 2.0 ( #2403 )
...
* Make `CommandBufferAllocator` object-safe, remove the generics
* Fix tests
* Fix examples
* Remove the panic
* Remove outdated docs
* Document `Send + Sync` impl of `UnsafeCommandBuffer`
2023-11-14 17:57:43 +01:00
marc0246
63a53f1b93
Descriptor set revamp ( #2404 )
...
* Descriptor set revamp
* Fix tests
* Fix examples
* Add `DescriptorSet::update_unchecked`
* Fix docs
* Add `Debug` impls
* Add `DescriptorSet::update_by_ref[_unchecked]`
* Rename `UnsafeDescriptorSet` to `RawDescriptorSet`
* Fix outdated docs for `DescriptorPool`
2023-11-12 17:17:37 +01:00
marc0246
bbd1de36ef
Descriptor set allocator API 2.0 ( #2400 )
...
* Make `DescriptorSetAllocator` object-safe, remove the generics
* Fix tests
* Fix examples
* Fix docs
* Avoid panics in `deallocate`
* Typo
* Clarify docs
* Clarify safety preconditions of `allocate`
* Remove unnecessary `Arc` clone
* Tidy up a little
* Debug assert
2023-11-12 15:10:22 +01:00
marc0246
34736a675a
Remove license notices from source files ( #2401 )
...
* Remove license notices from source files
* Add license notices for rangemap
2023-11-08 13:49:49 +01:00
marc0246
4c515a81cb
Improve the examples' directory structure ( #2375 )
...
* Make each example its own workspace member
* Fix runtime-shader example
* Fix shader-include example
* Fix teapot example
* Fix `run_all.sh`
* Fix output files getting saved in cwd
* Fix spelling for examples readme filename
* Remove wrong leftover dependencies for gl-interop
* Fix pipeline-cache example
* Clearer .gitignore
* Help cargo be less useless
2023-10-29 18:46:14 +01:00