Commit Graph

3334 Commits

Author SHA1 Message Date
Rua
b0668f5a31
#1943 changelog 2022-08-07 12:48:13 +02:00
marcot1cs
8f690342ab
StdDescriptorPool rewamp (#1943)
* `StdDescriptorPool` rewamp

* Update `DescriptorPool` docs

* Fix an oopsie

* Fix wrong variable descriptor count
2022-08-07 12:45:04 +02:00
Okko Hakola
ac32c625cd
Better defaults for vulkano config (#1942)
* Better defaults for vulkano config

* Update changelog
2022-08-06 14:08:51 +02:00
Rua
e80058e63c
#1939 changelog 2022-08-01 11:08:42 +02:00
marcot1cs
91dc544135
Make StandardCommandPool lockless (#1939) 2022-08-01 11:05:01 +02:00
Austin Johnson
c0c9c21ce4
remove unnecessary question mark operator and unsafe block (#1940) 2022-08-01 10:43:45 +02:00
p3t3rix
4980ee4317
Add from_handle constructors for various Vulkan object types. #1935 (#1938)
* add from_handle to QueryPool

* add from_handle to Sampler

* add from_handle to Semaphore

* add from_handle to Fence

* add from_handle to Event

* add must_put_in_pool parameter to fence and semaphore

* add from_handle to SamplerYcbcrConversion

* add from_handle to RenderPass

* add from_handle to Framebuffer

* add from_handle to PipelineLayout

* cargo fmt

* remove must_put_in_pool flag from event, fence and semaphore because we don't want the user to add stuff to the pool via indirect means

* don't use validate method when creating RenderPass from_handle, instead determine views manually without validation

* add from_handle to UnsafeImage, adapted new() a bit to avoid duplicating logic of creation (at the cost of getting the format_features twice

* add from_handle to UnsafeDescriptorPool

* add from_handle to DescriptorSetLayout, duplicating logic from validate

* add from_handle to UnsafeCommandPool

* add from_handle to UnsafeBuffer

* cargo fmt

Co-authored-by: Peterix <git@kuelzer.me>
2022-07-31 21:21:04 +02:00
Rua
847ab583f7
#1936 changelog 2022-07-31 11:55:50 +02: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
Austin Johnson
f74cd9f7bd
#1933 Changelog Update
https://github.com/vulkano-rs/vulkano/pull/1933
2022-07-30 01:58:47 -05: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
Austin Johnson
dab8c7ef0e
#1932 Changelog Update
https://github.com/vulkano-rs/vulkano/pull/1932
2022-07-30 01:53:58 -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
Nevin
fbe81a9c73
Update examples link (#1931)
Change the example link from archived repo (https://github.com/vulkano-rs/vulkano-examples) to the examples folder which has been updated
2022-07-23 17:15:52 -05:00
Rua
e0654fee18
vk-sys is gone 2022-07-20 11:24:24 +02:00
Rua
463717973e
Mention vulkano-util 2022-07-20 11:23:40 +02:00
Austin Johnson
6a8ee8d75f
Release 0.30 (#1929) 2022-07-20 03:50:41 -05:00
Austin Johnson
a387b40a0b
Move RangeMap into Vulkano (#1928)
* move rangemap into vulkano

* make range_map private & remove extra RangeInclusive types
2022-07-20 10:10:41 +02:00
Rua
6d9744cf94
#1927 changelog 2022-07-18 15:12:51 +02: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
Rua
50c02e49ff
#1924 changelog 2022-07-18 14:36:21 +02:00
marcot1cs
4d9711f3bc
constness of ImageUsage constructors and more utility methods for SampleCounts (#1924)
* Make `ImageUsage` constructors `const`

* Add utility methods for `SampleCounts`
2022-07-18 14:35:50 +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
5e298d6bb7
Allow setting present mode in vulkano util's window renderer (#1922)
* Allow swapchain recreation with new present mode in utils

* Add doc text

* Add to changelog
2022-07-13 12:25:32 +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
Austin Johnson
3ae9ec0f70
#1911 Changelog Update 2022-06-06 13:33:26 -05:00
Rua
6da73f3be3
Refactor dynamic state commands (#1911) 2022-06-06 13:33:23 -05:00
Austin Johnson
bd53e74150
#1910 Changelog Update 2022-06-05 17:46:12 -05:00
Rua
aaf0eadc61
Add is_signaled to FenceSignalFuture (#1910) 2022-06-05 17:45:37 -05:00
Rua
1f685b1420
Refactor query commands (#1909) 2022-06-05 17:43:07 -05:00
Austin Johnson
f5f1b39008
#1908 Changelog Update 2022-06-05 17:37:47 -05:00
Rua
8420c2b73e
Fix #1894 (#1908) 2022-06-05 17:36:56 -05:00
coolbot123
a945d7a1a8
fix errors I noticed in readme (#1906)
* fix errors I noticed

saw some errors while reading the readme then did a very quick proof-read/edit.

* lowercase "contribution"

Co-authored-by: Austin Johnson <me@austinj.me>
2022-06-05 17:34:07 -05:00
Austin Johnson
3d1d135c54
#1905 Changelog Update 2022-05-31 11:53:53 -05:00
Rua
d6e491b8da
Fix #1881 (#1905) 2022-05-31 11:53:50 -05:00
Rua
de8e95075b
#1904 changelog 2022-05-29 19:28:37 +02:00
Rua
d3217d2531
Update dependencies (#1904)
* Update dependencies

* MacOS fix
2022-05-29 19:27:47 +02:00
Austin Johnson
2fcfcadb9e
#1903 Changelog update 2022-05-29 11:55:28 -05:00
Rua
8ad9480252
Remove Default from NonExhaustive (#1903) 2022-05-29 11:55:19 -05:00
Rua
d3ab829eec
#1902 additions 2022-05-29 18:55:14 +02:00
Austin Johnson
cf9f8d7968
#1902 Changelog update 2022-05-29 11:53:40 -05:00
Rua
6352adf4ff
Add support for dynamic rendering (#1902) 2022-05-29 11:53:36 -05:00
Rua
eec4463ab2
#1893 changelog 2022-05-09 14:25:51 +02: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
5c6bbe0be4
Fixing Module comments that were accidentally changed (#1891) 2022-05-06 20:21:45 +02:00
Ryan Andersen
ba7f0b20e6
Device local example (#1890) 2022-05-06 18:31:08 +02:00
Rua
ed69075488
#1889 changelog 2022-05-02 13:48:19 +02:00
Leon Matthes
799d99d6b2
PresentFuture: Avoid flushing twice on flush error (#1889) 2022-05-02 13:47:45 +02:00
Rua
211e4a4c16
#1888 changelog 2022-05-02 13:32:06 +02:00
atilo
31a203303e
Raytracing shaders with vulkano-shaders (#1888)
* Support for compiling ray shaders (still broken)

* Remove debug print and fix unimplemented panic
2022-05-02 13:21:00 +02:00