Skip to content

Commit

Permalink
Better defaults for vulkano config (#1942)
Browse files Browse the repository at this point in the history
* Better defaults for vulkano config

* Update changelog
  • Loading branch information
hakolao authored Aug 6, 2022
1 parent e80058e commit ac32c62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- **Breaking** Changes to `StandardCommandPool`:
- `StandardCommandPool` is now implemented lock-free, using thread-local storage.
- `StandardCommandPool::new` and `Device::standard_command_pool` now return a `Result`.
- Added `khr_portability_enumeration` as a default configuration for MacOS in `vulkano-utils`

# Version 0.30.0 (2022-07-20)

Expand Down
10 changes: 8 additions & 2 deletions vulkano-util/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,14 @@ impl Default for VulkanoConfig {
};
VulkanoConfig {
instance_create_info: InstanceCreateInfo {
application_version: Version::V1_2,
enabled_extensions: InstanceExtensions::none(),
application_version: Version::V1_3,
enabled_extensions: InstanceExtensions {
#[cfg(target_os = "macos")]
khr_portability_enumeration: true,
..InstanceExtensions::none()
},
#[cfg(target_os = "macos")]
enumerate_portability: true,
..Default::default()
},
debug_create_info: None,
Expand Down

0 comments on commit ac32c62

Please sign in to comment.