Commit Graph

3161 Commits

Author SHA1 Message Date
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
1f44e76e9b
Refactor draw/dispatch commands, improve validation checks (#1963) 2022-09-03 14:05:57 -05:00
Rua
f77644bcef
Refactor bind/push commands (#1962) 2022-09-02 11:02:41 -05:00
gurchetansingh
2e570f8c3f
vulkano: export LoadingError (#1961)
This is useful if loading the VulkanLibrary fails.
2022-08-26 10:07:52 +02:00
Rua
5fa657f61b
#1960 changelog 2022-08-24 19:52:34 +02:00
Firestar99
09b7514aad
Autogen enhancements for InstanceExtensions, DeviceExtensions, device::Features (#1960)
* Adding Default for InstanceExtensions and DeviceExtensions

* Nicer Debug print for device::Features

* Adding ops traits for InstanceExtensions, DeviceExtensions and device::Features

ops traits added: Not, BitOr, BitOrAssign, BitAnd, BitAndAssign, Sub, SubAndAssign

* Make device::Features::all() crate-only pub

Co-authored-by: Firestar99 <4696087-firestar99@users.noreply.gitlab.com>
2022-08-24 19:51:35 +02:00
Rua
f5018a20b5
#1959 additions 2022-08-23 18:13:26 +02:00
Rua
b0ad9de80e
#1959 changelog 2022-08-23 18:13:10 +02:00
idanraiter
f4dc7dcbb2
Opaque Windows handle external memory import support (#1959)
Adds support for importing OpaqueWin32 and OpaqueWin32Kmt handles.
2022-08-23 18:08:34 +02:00
Austin Johnson
3bbd124ab9
#1953 Changelog 2022-08-12 05:19:09 -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
Rua
604c154d63
Refactor internal error handling (#1952)
* Refactor internal error handling

* Fix docs
2022-08-11 06:58:22 -05:00
Rua
6f634830e5
Fixup some outdated code (#1948)
Co-authored-by: Austin Johnson <me@austinj.work>
2022-08-11 06:54:45 -05:00
Rua
ac890aa0a4
Remove duplicate line 2022-08-11 09:53:19 +02:00
marcot1cs
38ae563246
Switch to parking_lot's Mutexes (#1951) 2022-08-11 09:51:38 +02:00
Rua
0096c75670
#1950 changelog 2022-08-11 09:50:01 +02:00
Okko Hakola
062b5e2f96
Ios fix (#1950)
* Fix iOS, use similar approach for metal layer as wgpu

* Use correct return type

* Handle ios resizing

* Add changelog notes

* Fix typo

* Update raw-window-handle

* Ensure mac changes correspond master version
2022-08-11 09:49:29 +02:00
Rua
d4e760caa7
#1949 changelog 2022-08-08 19:27:10 +02:00
marcot1cs
70a326c642
Remove unneccessary Mutex (#1949) 2022-08-08 19:26:19 +02:00
Austin Johnson
e7ef60c9f8
#1947 Changelog Update 2022-08-07 21:38:11 -05:00
Rua
f465775684
Use libloading instead of shared_library (#1947) 2022-08-07 21:38:06 -05:00
Rua
b11d7e0461
#1946 changelog 2022-08-07 19:27:52 +02:00
marcot1cs
c4a960d67b
Changes regarding naming and API consistency (#1946)
* Remove unneccessary `Arc`-clone

* Rename `Std*` types to `Standard*`

* New signature for `Device::standard_pool`

* Import granularity consistency
2022-08-07 19:25:28 +02:00
Austin Johnson
72dcbc1a28
#1945 Changelog Update 2022-08-07 05:54:41 -05:00
Rua
69b72362ea
Vulkano-shaders struct generation refactor (#1945) 2022-08-07 05:54:38 -05:00
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