Commit graph

62 commits

Author SHA1 Message Date
Maik Klein
855068323d
Address all the clippy lints ()
* 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
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: Replace mem::uninitialized with mem::zeroed r=MaikKlein a=aloucks

Fixes 

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 
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
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
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
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
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
046989ad75 reformatted with fmt 2018-12-06 13:18:37 -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
ab7f960ae8 Remove all vendor tags from the fns 2018-12-04 21:25:42 +01:00
Matus Talcik
b71dc58efb Initial support for rustfmt 2018-11-17 19:05:28 +01:00
Maik Klein
52fe1c9714
Merge pull request from Ralith/error-handling
Expose suboptimal results from swapchain operations
2018-11-11 14:55:20 +01:00
Maik Klein
373ed42402 Remove unused versioning 2018-11-11 10:48:58 +01:00
Benjamin Saunders
ffa09c5fd9 Expose suboptimal results from swapchain operations 2018-10-07 12:14:59 -07:00
Gabriel Majeri
fd5d89f2b6 Remove libc usage 2018-08-28 20:01:16 +03:00
Maik Klein
a6d5a124df Rename constants in the example and inside static arrays 2018-08-01 09:22:28 +02:00
Tim
d9aa575318 Fix formatting in textures.rs 2018-07-31 15:00:28 +02:00
Tim
ec41984cb5 Fix formatting in textures.rs 2018-07-31 14:59:21 +02:00
Tim
77cfbf2367 Apply rustfmt to examples 2018-07-31 14:51:45 +02:00
Tim
1b5f2b105c Ignore and since it's cosmetic only 2018-07-31 14:31:52 +02:00
Tim
dc80b74ea9 Port triangle example 2018-07-31 13:22:16 +02:00
Tim
c6be07f5f5 Port texture example 2018-07-31 13:15:39 +02:00
Maik Klein
eb70d0e899 cargo fmt 2018-06-05 17:46:32 +02:00
Eidolon
26394b1d3c Add first_scissor to cmd_set_scissor 2018-04-11 21:30:30 -05:00
Maik Klein
0a8f335206 Update example with the new ClearValue union 2018-02-15 19:48:49 +01:00
Maik Klein
bfd05ea8e9 Update examples 2017-12-22 14:59:23 +01:00
Maik Klein
2de4de02da Fix wrong uv format 2017-12-12 14:41:10 +01:00
Maik Klein
136557f196 Fix vec3 padding 2017-12-12 14:41:00 +01:00
Maik Klein
139dc2aa3b Fix stages for memory barriers in the examples 2017-12-12 11:51:55 +01:00
Maik Klein
5875de85ce Switch to libc 2017-07-08 09:40:38 +02:00
Maik Klein
80743e9314 [Fix] Alignment in the examples 2017-06-18 13:05:52 +02:00
Maik Klein
90d67c29c9 Switch util::* to DeviceSize 2017-06-11 17:49:38 +02:00
Maik Klein
3483450010 Remove unused mut 2017-06-05 10:56:29 +02:00
Maik Klein
3af05f10f4 remove useless function 2017-06-04 11:11:34 +02:00
Maik Klein
141215bf86 Fix examples 2017-06-03 23:36:18 +02:00
Maik Klein
6ef7cc18f3 Remove unused macro_use 2017-04-16 12:51:33 +02:00
Maik Klein
81935b2a91 Fix examples 2017-04-07 10:02:41 +02:00