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
maik
13398b0127
Avoid allocation for spirv shaders
2019-06-23 12:34:47 +02:00
Aaron Loucks
1b75f9eb5d
Fix shader and texture data loading in examples
...
Load the example shader and texture files with `include_bytes!` so
that they can be run from the root project directory. Previously,
`cargn run --bin <EXAMPLE>` could only be run from the `examples`
directory.
2019-06-08 01:17:56 -04:00
bors[bot]
6d7e4bf120
Merge #215
...
215: Replace mem::uninitialized with mem::zeroed r=MaikKlein a=aloucks
Fixes #214
Co-authored-by: Aaron Loucks <aloucks@cofront.net>
2019-06-01 20:43:14 +00:00
Aaron Loucks
1ba1d46eb2
Update generator and examples to edition 2018
2019-05-25 15:34:18 -04:00
Aaron Loucks
bd69ab969c
Replace mem::uninitialized with mem::zeroed
...
Fixes #214
2019-05-25 15:13:17 -04:00
unknownue
9a6afac6ea
Fix black screen for examples on macOS platform
2019-05-20 21:28:38 +08: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
5dfd07098c
refactored texture example to use defaults and builders
2018-12-07 12:50:46 -06:00
colin
0a16b5bd9b
refactored triangle to use builders and defaults
2018-12-07 12:41:51 -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
dbbdc8c3c2
using builders and defaults in triangle example
2018-12-06 09:33:22 -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