Commit graph

104 commits

Author SHA1 Message Date
Brian Merchant 93238e093b Use DebugUtils instead of DebugReport in example. 2020-04-29 12:20:54 -07:00
Friz64 da5de66ba4
Switch to VK_LAYER_KHRONOS_validation (#290) 2020-04-19 19:12:43 +02:00
Maik Klein c32f0dd739 Clippy lints for 1.42 2020-03-15 00:55:26 +01:00
Jonathan Plotner c105d2842c fix build errors for examples on osx (#260) 2020-01-26 09:29:52 +01:00
Maik Klein 855068323d
Address all the clippy lints (#233)
* Fix literals in vk.rs

* Address all the other clippy lints in ash

* Module level clippy lint

* More lints

* Make hashmaps generic for clippy

* Remove unused macro import
2019-10-20 17:18:40 +02:00
Benjamin Saunders 4e8090f0bb Replace version macros with const fns 2019-10-05 11:16:35 -07:00
Aaron Loucks bd69ab969c Replace mem::uninitialized with mem::zeroed
Fixes #214
2019-05-25 15:13:17 -04:00
Mac O'Brien 9139ebfd95 Formatting pass 2019-05-18 16:09:12 -05:00
Mac O'Brien 90d7218bda Return VkResult from get_physical_device_surface_support
Fixes #185
2019-05-18 15:56:26 -05:00
Maik Klein 4c1c8aa648 Remove mut 2019-03-04 10:16:56 +01:00
Maik Klein 04dbf20371 Transform the ptr chain sample into a test case 2019-03-04 09:56:53 +01:00
Maik Klein 3de2ca9a22 Implement ExtendsXXX for all builders as well 2019-02-28 10:59:46 +01:00
Maik Klein 4f7ca180f6 Implement push_next 2019-02-28 10:59:46 +01:00
Maik Klein c46a41e1d2 Replace ExtensionChain with a simple iterator 2019-02-28 10:59:46 +01:00
Maik Klein 6d72bb547d Implement extension chaining 2019-02-28 10:59:46 +01:00
Maik Klein 813e6a836e Reformat 2018-12-09 22:24:11 +01:00
Maik Klein 0b68c25801 Address validation error 2018-12-09 22:13:08 +01:00
colin f0251c157a inlining slices when on Device methods 2018-12-09 14:33:21 -06:00
colin 5422a8032d again, added use std::ptr; to lib.rs 2018-12-09 13:52:03 -06:00
colin 9fcd93b7b2 rust fmt 2018-12-09 13:41:23 -06:00
colin 752fc1f1ee missed some premature .build() calls! 2018-12-09 13:35:48 -06:00
colin ca651f07cb rustfmt 2018-12-09 08:01:13 -06:00
colin bb54ae4c5a refactored to use util::read_spv 2018-12-09 08:00:55 -06:00
colin 59dfc6e216 Merge branch 'master' into issue-142 2018-12-09 07:47:29 -06:00
Benjamin Saunders 06b9599e16 Update to latest rustfmt 2018-12-08 15:42:13 -08:00
colin 31880de8ab refactored examples 2018-12-07 13:00:27 -06:00
colin 962f1ba830 reformatting via rust fmt 2018-12-07 12:52:52 -06:00
colin cc21817445 attempt to detect endianness in bytes_to_u32_vec 2018-12-07 12:38:20 -06:00
colin 8c2424c836 refactored examples/src/lib.rs to use builders 2018-12-07 12:38:20 -06:00
colin cf60417ecc added bytes_to_u32_vec function using byteorder crate 2018-12-07 12:35:06 -06:00
colin 6f4259ee36 Merge branch 'master' of https://github.com/MaikKlein/ash into issue-142 2018-12-07 12:26:21 -06:00
colin 4858f4bceb fixed logic error in bytes_to_u32_vec 2018-12-06 13:40:25 -06:00
colin 2bb85a8d50 fixed logic bug in bytes_to_u32_vec 2018-12-06 13:38:44 -06:00
colin 046989ad75 reformatted with fmt 2018-12-06 13:18:37 -06:00
colin 2855192145 added std::ptr back in import to satisfy build checks 2018-12-06 12:58:31 -06:00
colin bac3a5bc21 using builders and Defaults in texture example 2018-12-06 08:58:12 -06:00
Maik Klein 911f7545b9 Fix imports for win and mac 2018-12-04 21:55:51 +01:00
Maik Klein ab7f960ae8 Remove all vendor tags from the fns 2018-12-04 21:25:42 +01:00
Maik Klein fad6f51aae Move extensions into vendor specific modules 2018-12-04 21:25:42 +01:00
Matus Talcik b71dc58efb Initial support for rustfmt 2018-11-17 19:05:28 +01:00
Graham Wihlidal 6fa7d193ed Compile fixes for macOS 2018-11-16 13:39:14 +01:00
Maik Klein 726c91fda9 Fix 2018-11-12 13:12:38 +01:00
Maik Klein 69f3644362 Merge branch 'generator' 2018-11-12 13:10:52 +01:00
Maik Klein 6beeb16a4e Merge branch 'flags-api' of https://github.com/Ralith/ash into Ralith-flags-api 2018-11-11 14:37:26 +01:00
Maik Klein b5fc6d37f2 Update the examples 2018-11-11 10:48:58 +01:00
Maik Klein adf571c95c Initialize function pointers to a panicking function if it couldn't be
loaded
2018-11-03 23:37:20 +01:00
Benjamin Saunders cd394db60f Wrap function pointers in Option since they might be null 2018-10-08 17:34:40 -07:00
Benjamin Saunders 0446b59873 More consistent names in flags API
Improves consistency with other newtypes and with bitflags.
2018-09-16 12:08:14 -07:00
Gabriel Majeri 72a8c9a341 Fix Windows surface creation 2018-08-29 15:45:04 +03:00
Maik Klein f679197d0f
Merge pull request #114 from GabrielMajeri/fix-version-macros
Use Rust integral types
2018-08-29 09:36:15 +02:00