Commit graph

176 commits

Author SHA1 Message Date
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
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
Lucien Greathouse 91da74fca4 examples: Update to winapi 0.3 and winit 0.11 2018-03-03 00:20:18 -08:00
Lucien Greathouse 8e3e3b9e72 examples: Minor whitespace cleanup 2018-03-03 00:05:07 -08:00
Lucien Greathouse 11ed7b2306 examples: Clean up warnings and trim dead code 2018-03-03 00:05:01 -08: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 c0b6078028 Update examples to winit 0.9 2017-12-12 14:25:10 +01:00
Maik Klein 139dc2aa3b Fix stages for memory barriers in the examples 2017-12-12 11:51:55 +01:00
Maik Klein 5fda71f7af Fix broken vert.spv 2017-09-17 10:31:17 +02:00
Maik Klein df9b7eb351 Fix build error on windows 2017-08-19 18:34:15 +02: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 c4e5812668 Switching to a cargo workspace 2017-04-16 12:44:34 +02:00
Maik Klein a832935212 Update cargo lock 2017-04-07 10:20:17 +02:00
Maik Klein 81935b2a91 Fix examples 2017-04-07 10:02:41 +02:00
Maik Klein bd31980eb5 update cargo lock 2017-03-15 12:12:59 +01:00
maik klein cdc926a3b7 Bump versio to 0.14.2 2017-01-20 17:35:12 +01:00
maik klein 23ff925660 Remove error from PresentInfoKHR 2017-01-20 17:25:58 +01:00
maik klein 65094fcf20 Remove sparse flag from the depth image 2017-01-20 17:25:05 +01:00
maik klein a5f78297d1 Bump version to 0.14.1 2017-01-08 18:16:00 +01:00
maik klein 4e9f1429cd Better handling for vsync image count 2017-01-06 08:47:39 +01:00
maik klein 4565b1f3b3 Correct rendering wait mask 2017-01-06 08:47:06 +01:00
maik klein 2e1079b77c max_image_count can be 0 to indicate no limit 2017-01-05 19:53:46 +01:00
maik klein 61b6a5d222 Sets desired image count to min_image_count 2017-01-05 19:45:55 +01:00
maik klein bc89f4039f Bump version to 0.14 2017-01-05 09:58:57 +01:00
maik klein 42c1f97ffc Bump version to 0.13 2017-01-05 09:45:46 +01:00
maik klein 06050d411e Bump version to 0.12 2017-01-05 09:20:09 +01:00
maik klein f2b52eb007 Cleanup warnings and use version traits 2017-01-05 09:03:37 +01:00
maik klein eead999bc4 Update window title 2017-01-05 08:09:23 +01:00
maik klein c0ba045df9 Bump to version 0.11 2017-01-05 08:53:58 +01:00
maik klein 3dbb81735f add create_instance to EntryV1_0 2017-01-05 08:48:18 +01:00
maik klein efd6f906d9 Bump version 2017-01-04 15:22:07 +01:00
maik klein 61b574bcdf Fix build error in the win32 example 2017-01-01 09:21:29 +01:00
maik klein a02fb615c0 Rename load_vulkan to new, as Vulkan is loaded at startup time 2017-01-01 08:56:38 +01:00
maik klein 2fdec50947 Remove EntryExt 2017-01-01 08:50:52 +01:00
maik klein 4ace1cc780 Loader cleanup 2017-01-01 08:09:51 +01:00
maik klein 0c0b147502 Add version to Entry 2016-12-30 06:19:47 +01:00
maik klein 45936ae6bb Swtich device to the new extension version format 2016-12-30 05:42:34 +01:00
maik klein d964453d2d Switch Instance to the new version extension 2016-12-30 03:44:05 +01:00
maik klein 9e2d28b301 Integration extensible versions 2016-12-30 03:34:14 +01:00
maik klein a95572af4a Bump version to 0.9 to indicate that it is very close a 1.0 release 2016-12-29 07:11:40 +01:00
maik klein 3d0120ef3d Unsued begin command buffer 2016-12-29 07:50:54 +01:00
maik klein 0f52807193 Examples now properly free their objects 2016-12-29 06:02:37 +01:00
maik klein 8a6a7823c4 queue_present to swapchain 2016-12-29 04:32:55 +01:00
maik klein b49b2b1deb Add allocator to the windows example 2016-12-28 11:13:36 +01:00
maik klein f01eb2d9d5 Adds missing allocators for the extensions 2016-12-28 11:04:50 +01:00
maik klein 0eaf851afa Added allocators to the examples 2016-12-28 09:24:24 +01:00
maik klein ce4945a61c Add allocation callbacks everywhere 2016-12-28 09:07:27 +01:00
maik klein 85b7a7c136 update cargo lock 2016-12-28 06:03:28 +01:00
maik klein 0f4e24e3f1 Remove lockfile in Ash and update lockfile for the examples 2016-12-28 05:09:54 +01:00
maik klein 28908142b4 Added extension name support 2016-12-28 04:19:03 +01:00
Maik Klein ac5708ac36 Remove unused unsafe 2016-12-26 03:48:38 +01:00
Maik Klein 030cb602d4 Update triangle.rs 2016-12-26 03:44:06 +01:00
Maik Klein 1b43e3367b #[macro_use] for texture 2016-12-26 03:43:53 +01:00
Maik Klein 629d27babe add another unsafe for the win32 example 2016-12-26 03:31:51 +01:00
maik klein f5a8878d8f Add missing unsafe 2016-12-26 02:47:33 +01:00
maik klein 20f5a51541 fixed misspelled createinfo 2016-12-26 02:40:48 +01:00
maik klein 28f809ef80 Add winapi to do another cast 2016-12-26 02:35:43 +01:00
maik klein 150e32a7c6 Another const cast && importing Win32Surface 2016-12-26 02:28:22 +01:00
maik klein d638849eca correct cast of hwnd on windows 2016-12-26 02:23:57 +01:00
maik klein 17d773010e Remove glfw dependency 2016-12-26 02:19:27 +01:00
maik klein d5f3c11ba2 Added experimental windows support 2016-12-26 01:58:44 +01:00
maik klein 310494380e Update the texture example 2016-12-26 01:22:21 +01:00
maik klein b25338a991 Reorder example shader 2016-12-26 00:50:08 +01:00
maik klein 4fd228fcb3 Cleanup unused code 2016-12-26 00:39:00 +01:00
maik klein 32f74cc619 Restructure examples 2016-12-25 14:38:26 +01:00
maik klein 40576acb95 Refactor examples 2016-12-25 06:21:41 +01:00
maik klein 8c7a459b90 another unsafe function pass 2016-12-24 02:28:28 +01:00
maik klein 7edf08fe94 Now loads vulkan globally 2016-12-23 23:22:21 +01:00
maik klein f39baa7e34 Added error handling for optional extension loading 2016-12-23 21:43:41 +01:00
maik klein 1f8e284ca9 Refactored extension loading into seperate modules 2016-12-23 11:42:18 +01:00
maik klein ccfd6b636a Updated triangle for xlib loader 2016-12-23 02:45:47 +01:00
maik klein f02a5c25c9 Updated triangle with the new loader 2016-12-23 00:01:21 +01:00
maik klein 9ba4ac429f Fixed screenshot 2016-12-12 04:30:01 +01:00
maik klein 8e60030a04 Finshed texture example, needs some cleanup 2016-12-12 04:19:21 +01:00
maik klein ab07866971 almost working texture 2016-12-12 02:43:02 +01:00
maik klein d3de51e565 work for the texture example 2016-12-12 01:08:12 +01:00
maik klein 673dbb51c3 Send uniform data to frag shader 2016-12-10 21:30:51 +01:00
maik klein 439625f037 Add uniform buffer 2016-12-10 19:32:17 +01:00
maik klein e2aec2d8ca Base for multiple examples 2016-12-10 18:37:44 +01:00
maik klein c83346aa70 update README 2016-12-09 21:01:44 +01:00
maik klein a2e02f95da Remove glfw dep from ash 2016-12-09 20:26:01 +01:00