Commit graph

960 commits

Author SHA1 Message Date
Matus Talcik 7e505347f4 Default trait: set pointers to std::ptr::null()/null_mut() instead of zeroed 2018-08-22 22:53:17 +02:00
Gabriel Majeri c4d92d410b Make enumerate_instance_version safe 2018-08-22 10:51:05 +03:00
Gabriel Majeri ce6820f923 Add traits and FP loading for Entry 1.1 2018-08-22 10:49:41 +03:00
Gabriel Majeri 67ea40b30c Regenerate vk.rs 2018-08-22 10:33:58 +03:00
Gabriel Majeri 15839ddc4e Move enumerate_instance_version to Entry
Also adds `EntryV1_1` trait

# Conflicts:
#	ash/src/version.rs
2018-08-22 10:24:50 +03:00
Maik Klein 3e812896ff
Merge pull request #107 from GabrielMajeri/export-v1_1
Export Vulkan 1.1 traits
2018-08-22 09:16:58 +02:00
Gabriel Majeri 22cce9be30 Export the Vk 1.1 traits 2018-08-22 10:06:03 +03:00
Maik Klein 0760798108
Merge pull request #106 from Ralith/cmd_copy_query_pool_results
Expose cmd_copy_query_pool_results
2018-08-22 06:46:16 +02:00
Benjamin Saunders a0424596a5 More robust Display for flags types
Fixes strange behavior if a Vulkan flags constant setting multiple bits
is defined prior to that which sets only one of those bits.
2018-08-21 21:16:08 -07:00
Benjamin Saunders b1451747b5 Expose cmd_copy_query_pool_results 2018-08-21 21:14:10 -07:00
Maik Klein d99ac29747
Merge pull request #104 from GabrielMajeri/export-debug
Export the DebugUtils extension
2018-08-21 15:16:32 +02:00
Gabriel Majeri b5651ed351 Export the DebugUtils extension 2018-08-21 16:04:57 +03:00
Maik Klein 2f60f8f1d5
Merge pull request #101 from Ralith/raw-enums
Expose conversions between enums and raw values
2018-08-21 14:13:57 +02:00
Benjamin Saunders d5666554fc Expose conversions between enums and raw values 2018-08-20 23:56:33 -07:00
Maik Klein e546fbbb5d [Fix] BitPos can be negative 2018-08-20 09:55:41 +02:00
Maik Klein 8521f01488 Switch to manual_derives 2018-08-20 07:32:30 +02:00
Maik Klein 6a329084e8 Add generator to travis 2018-08-20 07:32:30 +02:00
Maik Klein 071fe412c1
Merge pull request #99 from Ralith/display
impl Display for constants
2018-08-20 07:32:20 +02:00
Benjamin Saunders 6738c4c01c impl Display for constants 2018-08-19 20:13:02 -07:00
Maik Klein c4e4ab8fc2 Temporary implement Hash and PartialEq for certain types that only
contain primtive types
2018-08-19 10:10:11 +02:00
Maik Klein 20d5ba9f7f
Merge pull request #97 from bzm3r/generator
pin vk-parse to crates.io
2018-08-18 07:55:30 +02:00
Brian Merchant 21a4eef1f8 pin vk-parse to crates.io 2018-08-17 12:26:32 -07:00
Maik Klein c4e9feb9b7
Merge pull request #88 from Ralith/handle
Handle trait, VK_EXT_debug_utils
2018-08-04 23:04:57 +02:00
Benjamin Saunders e65a24ddcd Wrap VK_EXT_debug_utils 2018-08-04 13:49:16 -07:00
Benjamin Saunders 6e54dd346e Introduce Handle trait 2018-08-04 12:22:09 -07:00
Maik Klein a1f79e102d
Merge pull request #92 from Cyres/boolean-type
Change type of `TRUE` and `FALSE` to `Bool32`
2018-08-03 16:31:09 +02:00
Tim 92d0541170 Change type of TRUE and FALSE to Bool32 2018-08-03 15:39:25 +02:00
Maik Klein 4797c12c89
Merge pull request #90 from Cyres/repr-transparent
Use repr(transparent) where possible and apply rustfmt to those files
2018-08-03 15:14:09 +02:00
Maik Klein 016cc1056b
Merge pull request #87 from Cyres/generator
Add new functions from 1.1
2018-08-03 14:42:14 +02:00
Tim cda39148e9 Mark some more functions as unsafe 2018-08-03 12:51:03 +02:00
Tim 59d49b2159 Apply rustfmt 2018-08-03 12:37:28 +02:00
Tim 2256c431be Use repr(transparent) where possible and apply rustfmt to those files 2018-08-03 12:34:14 +02:00
Tim 623c26c9bc Add functions for DeviceV1_1 2018-08-03 12:22:51 +02:00
Tim eeb17a07a1 Merge remote-tracking branch 'origin/generator' into generator 2018-08-03 11:55:27 +02:00
Maik Klein 3bea365299 Update to rust 1.28 for appveyor 2018-08-03 08:45:28 +02:00
Maik Klein 2c5364871e Update winit to 0.16 2018-08-02 21:22:46 +02:00
Maik Klein e3526b467c Remove unused enumflags dependencies 2018-08-01 18:46:02 +02:00
Tim e230d6ae81 Add functions for Instance 2018-08-01 16:51:43 +02:00
Maik Klein c0e98cdf78 New signature for enumerate_instance_version 2018-08-01 09:50:24 +02:00
Maik Klein a6d5a124df Rename constants in the example and inside static arrays 2018-08-01 09:22:28 +02:00
Maik Klein 33a0eee190 Remove "VK" from constants 2018-08-01 09:12:39 +02:00
Maik Klein 89dffac854 Remove useless println 2018-08-01 09:10:41 +02:00
Maik Klein 666e5628ac Remove vendor ext from vendor constant variants 2018-08-01 08:51:50 +02:00
Maik Klein 146e9857b8
Merge pull request #86 from Cyres/generator
Port of examples
2018-08-01 08:17:20 +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