Commit Graph

150 Commits

Author SHA1 Message Date
Austin Johnson
b245e6c4dc
Update winit, half, and smallvec; Release 0.18 (#1332)
update winit, half, and smallvec; release 0.18
2020-03-11 20:48:15 -05:00
Austin Johnson
de2ef70a77
Release 0.17 (#1323) 2020-02-09 03:51:32 -06:00
simdimdim
8ef0beaddf
Update to winit 0.21 (#1321) 2020-02-05 23:31:02 -06:00
Austin Johnson
18189e0724
implement exclusive fullscreen (#1310)
* implement exclusive fullscreen

* fullscreen ext should be device ext

* add acquire/release

* require VK_KHR_get_surface_capabilities2

* fullscreen_exclusive is now an enum; explicit acquire/release methods added; FullscreenExclusiveError added to handle errors; FullscreenExclusiveLost varients added to acquire and present related errors

* add checks for double acquire/release; require AppControlled for acquire/release functions

* update examples and tests; resolve issue with try_gpu_lock() on SwapchainImage; update changelogs
2020-02-04 18:57:16 -06:00
Rua
a1176227f7
Add Eq and Hash implementations to types used in draw calls (#1314)
* Add Eq and Hash implementations to various buffer and image types

* Changelog entry

* Add Eq and Hash to graphics pipelines too

* Changelog entry

* Remove Eq and Hash from dyn GraphicsPipelineAbstract, as the device cannot be checked

* Add Eq and Hash to GraphicsPipelineAbstract, include size in buffer equality

* Add Eq and Hash to descriptor sets

* Changelog entry

* Add Eq and Hash to Instance, check for it in Device
2020-02-01 15:33:17 -06:00
José Miguel Sánchez García
c620aefd29
Add 's' to dimension in Swapchain::recreate_with_dimension (#1315) 2020-01-31 16:37:05 -06:00
Austin Johnson
dd7b202e80
export swapchain aquire suboptimal (#1311) 2020-01-29 01:44:28 -06:00
Killian
26bb70ed96
Stop Join Future from doing the same submit multiple times. (#1313) 2020-01-28 23:42:11 -06:00
Austin Johnson
50cc41dd27
Label breaking changes accordingly... (#1308)
and breaking changes are now listed at the top.
2020-01-26 19:25:48 -06:00
Austin Johnson
9977805518
Add host_cached field to all CpuAccessibleBuffer initializers to allow the user to perfer host cached memory. 2020-01-26 08:12:44 -06:00
James
044366a24c Propagate newlines correctly on error messages (#1172)
Co-authored-by: Austin Johnson <me@austinj.me>
2020-01-26 06:35:49 -06:00
Austin Johnson
1b6a5fad7c
impl partial_eq and eq for queue and queue family (#1306) 2020-01-26 05:20:34 -06:00
colepoirier
ef84101ef5 Fixes issue #1284 'SharingMode::Exclusive queue family id is ignored when creating swapchain.' (#1301) 2020-01-23 18:34:48 -06:00
Austin Johnson
b95c058f9a
upgrade winit to 0.20 and cocoa to 0.20 2020-01-23 01:37:12 -06:00
Austin Johnson
85d81f778d
Fix issue with pipeline barriers not being inserted (#1290)
* inital fix

* disable windows builds; update changelog

* cbkey now has multiple command_ids
2020-01-21 00:19:15 -06:00
WarpspeedSCP
fb3ef9d43e Add function execute_commands_from_vec to accept multiple command buffers from a vector. (#1175)
* Add function `execute_commands_from_vec` to handle submission of multiple secondarycommand buffers.

* fix typo
2019-11-26 01:10:43 -06:00
Rua
e09588bebf Decouple descriptor sets from pipeline (#1003)
* Decoupled descriptor sets from pipeline

* Fixed error in unit test

* Fixed more

* Forgot a file

* I think it works now. Don't mind me, I'm new

* Fix new example that got added

* add changelog entry

* remove unnecessary parentheses from previous merge
2019-11-24 03:07:29 -06:00
James Lee
b8ea9bc5fc Sendable DebugCallback (#1277)
* Allow `DebugCallback` struct to be sent between threads

* Add unit test to ensure `DebugCallback` can be sent between threads

* Add changelog entry for `DebugCallback` change
2019-11-21 01:13:09 -06:00
nickwilcox
b0fb255c02 Fix descriptor set codegen for SSBO after spirv update (#1275) 2019-11-17 11:20:07 -06:00
Antonino Siena
1b2a39d3b0 Added Swapchain functions (#1268)
* Derive PartialEq for DescriptorDesc and added examples

* Added an example

* Example improvements

* Formatting issue

* Added Swapchain::with_old_swapchain() and integrated ColorSpace into Swapchain::new()

* Updated Changelog

* More docs and small improvement

* Added Swapchain::surface
2019-11-05 04:03:45 -06:00
Austin Johnson
2e6868a0c0
Downgrade Winit back to 0.19; Release Vulkano 0.16 (#1267)
* fix after revert; release 0.16

* bump shaders version
2019-11-01 10:12:17 -05:00
Austin Johnson
08d635c977
added raw_loaded_extensions() to Instance to allow querying of all extensions, not just known ones. (#1255) 2019-10-27 17:47:10 -05:00
Austin Johnson
212c5f6622
upgrade to vulkan 1.1 (#1258) 2019-10-27 17:27:08 -05:00
nickwilcox
1b9233d0e7 add support for shader macro predefines (#1257) 2019-10-27 01:05:45 -05:00
zedrian
761fb4e633 Swapchain can now be recreated with dimensions of corresponding surface using recreate(). (#1254) 2019-10-24 23:20:44 -07:00
Austin Johnson
b5d127bbf4
Update dependencies: lazy_static, half, syn, quote & proc-macro2 (#1252)
* Update dependencies: lazy_static, half, syn, quote & proc-macro2

* bump examples winit version
2019-10-24 04:09:08 -07:00
pablode
6c789e392c Add support for VK_KHR_16bit_storage and VK_KHR_storage_buffer_storage_class (#1160)
* Implement support for VK_KHR_16bit_storage and VK_KHR_storage_buffer_storage_class.

This change also allows SPIR-V instructions to require device extensions.

* Remove SPIR-V capabilities with duplicate values (StorageBuffer16BitAccess and UniformAndStorageBuffer16BitAccess).

* move changelog entry to current version
2019-10-24 01:20:36 -07:00
Austin Johnson
bb8c6cee36
update winit to alpha4; resolve warnings (#1249) 2019-10-24 00:46:40 -07:00
nickwilcox
901993b390 update shader include resolution to fix issues with windows (#1248) 2019-10-23 01:04:49 -07:00
theotherphil
ea8fed21f6 Fix OutOfHostMemory error in examples (#1246)
* Fix OutOfHostMemory error in examples

* Update changelog

* Add comment

* Point to summary issue
2019-10-20 14:27:33 -07:00
David Partouche
dc73b1f469 Implementing VK_EXT_debug_utils (#1237)
* Switching from VK_EXT_debug_report to VK_EXT_debug_utls
2019-10-20 15:26:07 -05:00
Icy Defiance
8175081322 Fix ImageDimensions::mipmap_dimensions and max_mipmaps where the original size is not a power of two. (#1228)
* Fix ImageDimensions::mipmap_dimensions

* Fix tests for ImageDimensions::mipmap_dimensions

* Fix ImageDimensions::max_mipmaps

* Fix docs for ImageDimensions::max_mipmaps

* Optimize ImageDimensions::max_mipmaps
2019-10-19 23:01:25 -05:00
Austin Johnson
8b7ff28022
update metal and cocoa (#1245) 2019-10-19 22:04:47 -05:00
Mitchell
70139eae76 Adding dynamic stencil values to DynamicState (#1236)
* hooked up dynamic state to the synamic stencil values

* added validation, removed introduced whitespace

* comments

* updated changelog

* updated examples

* appeasing the CI
2019-10-18 10:23:05 -05:00
mitchmindtree
814dacdab9
Publish version 0.14.0. (#1230)
This is kind of a delayed emergency release to address an issue where
some Linux distributions (Arch, Void and perhaps others) are unable to
build any projects depending on vulkano-shaders due to
google/shaderc-rs#58. This is resolved in shaderc 0.6 and in turn will
be resolved in vulkano 0.14 thanks to #1226.

See the CHANGELOG-VULKANO.md for more details on the release.
2019-08-18 01:29:40 +02:00
nickwilcox
ea651e18d4 support for compressed formats in check_copy_buffer_image (#1229)
* support for compressed formats in check_copy_buffer_image

* fix trailing whitespace
2019-08-17 20:07:44 +02:00
Abendstolz
0a8944362a Update shaderc to 0.6 in order to significantly reduce compile-times … (#1226)
* Update shaderc to 0.6 in order to significantly reduce compile-times on (Arch/Void)Linux again by linking towards shared libraries

* Add "shaderc-build-from-source" feature in order to allow shaderc to build from source if linking to system libraries fails

* Remove trailing whitespace to please Travis (CI)
2019-08-12 19:54:15 +10:00
nickwilcox
ff55540bf5 removed assert that was based on bad assumption (#1225) 2019-08-03 17:41:28 +02:00
Lucas Kent
8ef2a0cda1
Fix confusing mistake in changelog (#1214) 2019-07-03 09:11:05 +10:00
Lucas Kent
e93dff0bd3
Release vulkano 0.13 (#1212) 2019-07-03 07:13:03 +10:00
mitchmindtree
bb6beb8995 Publish 0.12.0 of vulkano, vulkano-win and vulkano-shaders. (#1203) 2019-05-25 19:29:08 +10:00
45e71894af Shaderc version bump + update docs (#1197) 2019-05-08 07:18:26 +10:00
c71270a0e7 The future is here. Some graphics cards are now only setting the transfer bit on queues with some special DMA controller relationship that can perform higher speed transfers. Let's tell the truth. (#1187) 2019-04-15 20:09:45 +10:00
Lucas Kent
defa8f8f16
Update winit and crossbeam versions (#1177) 2019-03-12 19:34:03 +11:00
mitchmindtree
d3888242ff Fix compiler error in code generated for GLSL struct (#1166) 2019-02-07 13:55:24 +11:00
Jakub Hlusička
5893dad066 Make BufferUsage derive PartialEq and Eq (#1164) 2019-02-06 22:42:13 +11:00
mitchmindtree
51cc13a0f4 Add a union method to the extensions types. (#1125)
Add a `union` method to the extensions types.
2018-11-30 14:14:43 +11:00
Jakub Hlusička
a9704caea9 Feature shader include (#1116)
Implement support for the include directive in shader source files
2018-11-30 13:09:13 +11:00
Lucas Kent
d6e313e2fe
Release vulkano 0.11.1 (#1115) 2018-11-16 23:22:59 +11:00
Lucas Kent
9291ddc73d
Add changelog for vk-sys (#1114) 2018-11-15 23:33:17 +11:00