Commit graph

166 commits

Author SHA1 Message Date
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
Maik Klein 69f3644362 Merge branch 'generator' 2018-11-12 13:10:52 +01:00
Maik Klein 52fe1c9714
Merge pull request #132 from Ralith/error-handling
Expose suboptimal results from swapchain operations
2018-11-11 14:55:20 +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 373ed42402 Remove unused versioning 2018-11-11 10:48:58 +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 ffa09c5fd9 Expose suboptimal results from swapchain operations 2018-10-07 12:14:59 -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
Gabriel Majeri fd5d89f2b6 Remove libc usage 2018-08-28 20:01:16 +03:00
Gabriel Majeri 86bdc3cecd Fix closing the examples 2018-08-25 11:06:30 +03:00
Maik Klein 2c5364871e Update winit to 0.16 2018-08-02 21:22:46 +02:00
Maik Klein a6d5a124df Rename constants in the example and inside static arrays 2018-08-01 09:22:28 +02:00
Maik Klein 666e5628ac Remove vendor ext from vendor constant variants 2018-08-01 08:51:50 +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 c0d29d4940 Fix windows structure type 2018-07-31 14:51:37 +02:00
Tim c4566b6ca9 Conditionally use XlibSurface and Win32Surface 2018-07-31 14:38:11 +02:00
Tim 1b5f2b105c Ignore #75 and #84 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 253f79eef5 Adjust examples lib to match #75 2018-07-31 13:16:04 +02:00
Tim c6be07f5f5 Port texture example 2018-07-31 13:15:39 +02:00
Tim 7c8ab2a876 Adjust lib.rs for examples 2018-07-31 12:45:29 +02:00
Maik Klein 1a3094d4c2 Add extensions 2018-07-21 12:56:16 +02:00
Gray Olson ef011ebc39 clean up unneeded commented out lined 2018-07-07 00:57:06 -07:00
Gray Olson 594a476fdb use libvulkan instead of moltenvk and make examples work on macos 2018-07-06 21:45:52 -07:00
Benjamin Saunders 7ec2bd23a7 Fix example debug callback return value
The application should always return VK_FALSE. The VK_TRUE value is reserved for
use in layer development.
2018-06-24 13:51:10 -07:00