Commit Graph

2594 Commits

Author SHA1 Message Date
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
Jack Pryne
d2d07df2e5 Update extensions.rs (#1242)
Adding the "VK_KHR_multiview"-extension. This may well require additional tags in order to function properly. I will test & revise.
2019-10-19 23:38:46 -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
Antonino Siena
2bfed3db8b Support surface creation with winit >= 0.20 (#1239)
* Version change

* Allowed surface creation with winit >= 0.20

* Latest winit version

* Migrate to latest winit

* Migrated all examples to the latest winit version

* Version increment

* Formatting change

* Removed trailing white space

* Corrected method calls

* Missing _ in OSX methods

* Minor version change

* Minor version change
2019-10-18 14:24:20 -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
Antonino Siena
c209e19ea8 Replaced all mem::uninitialized() by MaybeUninit (#1240)
* Replaced most mem::uninitialized() by MaybeUninit

* Replaced remaining mem::uninitialized() by mem::zeroed()
2019-10-18 10:12:26 -05:00
Hibiki KOMINAMI
1eadd98190 replaced immidiate dimensions value to dynamic (#1238) 2019-10-03 21:14:43 +10: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
85be6295d0 Add indirect draw example (#1224)
* Add indirect draw example

* fix whitespace
2019-08-03 17:42:47 +02:00
nickwilcox
ff55540bf5 removed assert that was based on bad assumption (#1225) 2019-08-03 17:41:28 +02:00
Milkey Mouse
32b616187c Update crate count in README.md (#1216) 2019-07-05 14:53:58 +10: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
Lucas Kent
fc6ac6fec1
Fix warnings on nightly (#1213) 2019-07-02 18:25:58 +10:00
Lucas Kent
f61193293f
rustc is now making use of the fact that derefencing a null pointer is UB. Remove all null dereferences (#1209) 2019-07-02 07:02:48 +10:00
Niklas Jonsson
d98552fe41 Ensure Device::active_queue_families contain no duplicates (#1192) 2019-06-11 00:45:24 +10:00
mitchmindtree
bb6beb8995 Publish 0.12.0 of vulkano, vulkano-win and vulkano-shaders. (#1203) 2019-05-25 19:29:08 +10:00
Tom
e7a03b0e1e Fix image layout transitions (#1171) 2019-05-19 22:56:14 +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
mitchmindtree
3518268b7f Add an instancing.rs example. (#1163)
* Add an `instancing.rs` example.

This is a simple-as-possible example of how to do instancing with
vulkano. The example is a direct copy of the `triangle.rs` example but
removes the comments in favour of only explaining the differences
necessary for doing instancing. Rather than drawing one triangle in the
centre of the screen, the example draws 100 instances of the triangle in
a 10x10 grid and get slightly larger across each axis.

* Add missing word to InstanceData struct description
2019-03-15 14:05:07 +11:00
Lucas Kent
defa8f8f16
Update winit and crossbeam versions (#1177) 2019-03-12 19:34:03 +11:00
Lucas Kent
3cb356e089
Add .gitattributes to automatically resolve merge conflicts on changelogs (#1176) 2019-03-12 16:39:13 +11:00
hikitrbogithub
dba468f38a Hash for Format (#1170)
Added derive Hash for Format
2019-03-12 15:35:41 +11:00
CephalonRho
912abdf40f Make buffer::sys::UnsafeBuffer::new panic if the usage parameter is empty (#1161) 2019-02-09 23:23:20 +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
Lucas Kent
a3d503a5e5
Update example deps (#1155) 2019-01-19 18:23:45 +11:00
Lucas Kent
5b7a0c6466
Fix python installation docs (#1153) 2019-01-15 17:45:03 +11:00
Lucas Kent
5233221ad9
Revert adding windows to CI, its not ready yet (#1149) 2019-01-07 07:44:03 +11:00
Lucas Kent
5d7e7ace62
Run CI on windows (#1148) 2019-01-05 15:12:38 +11:00
Lucas Kent
096bb3caf3
Remove deprecated constants from vk-sys (#1144) 2018-12-28 10:39:29 +11:00
Lucas Kent
1d83993e84
Update crossbeam version (#1139) 2018-12-19 07:27:56 +11:00
Lucas Kent
9a08414054
Upgrade vulkano-win and vulkano-shaders to rust 2018 (#1134)
* Upgrade vulkano-shaders to rust 2018
* Upgrade vulkano-win to rust 2018
2018-12-11 18:26:04 +11:00
Lucas Kent
34eeea6b52
Upgrade examples to rust 2018 (#1131) 2018-12-07 23:35:19 +11:00
Lucas Kent
f997e9322f
Replace try macro with '?' (#1130) 2018-12-07 11:52:52 +11:00
Lucas Kent
84d6f1b33a
handle spirv group decorations (#1126) 2018-12-04 19:10:47 +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
e577f145eb
Add issue template (#1121) 2018-11-28 17:36:45 +11:00
Lucas Kent
0c85863eb7
Release 0.11.1 of vulkano-shaders and vulkano-win (#1120) 2018-11-25 12:36:56 +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
mitchmindtree
b88a982aac Expose CopyImageError and DrawIndexedIndirectError (#1112)
I noticed that these two were missing a pub export while reading through
the docs.
2018-11-14 22:01:06 +11:00
Lucas Kent
ff9cc0d9a2
Update crossbeam version and travis setup (#1109) 2018-11-11 11:46:23 +11:00
Lucas Kent
2cfa2a5931
Fix vulkano release (#1107) 2018-11-08 14:31:11 +11:00
Lucas Kent
52a91d8910
Release vulkano 0.11 (#1086) 2018-11-08 13:19:42 +11:00