Commit graph

587 commits

Author SHA1 Message Date
bors[bot] 43eabee68a Merge #170
170: SPIR-V reading helper r=MaikKlein a=Ralith

SPIR-V is defined in terms of 4-byte words and does not have a defined endianness, and compiler and target endianness may differ. Furthermore, Vulkan seems to require SPIR-V supplied to the implementation to be 4-byte-aligned. As a result, reading SPIR-V in a safe and portable fashion is error-prone.

So far we have largely shied away from including nontrivial helper code in ash, but arguably most portable code using ash will want this function. Do we want to break precedent? Or should we introduce a separate, optional, utility crate for code that doesn't directly wrap some part of Vulkan?

Co-authored-by: Benjamin Saunders <ben.e.saunders@gmail.com>
2018-12-09 08:19:02 +00:00
Maik Klein 813c33d3d1 Don't build tmp branches 2018-12-09 09:11:19 +01:00
Maik Klein 7800cc5efc Add bors 2018-12-09 09:05:32 +01:00
Maik Klein 65040ecbea
Merge pull request #171 from Ralith/reformat
Update to latest rustfmt
2018-12-09 08:48:43 +01:00
Benjamin Saunders 06b9599e16 Update to latest rustfmt 2018-12-08 15:42:13 -08:00
Benjamin Saunders 4546b26736 SPIR-V reading helper 2018-12-07 17:46:49 -08:00
Maik Klein 60e3efd552
Merge pull request #168 from Ralith/misc
Expose destroy_event, fix an argument name
2018-12-06 09:23:29 +01:00
Benjamin Saunders c3e53a8317 Fix begin_command_buffer argument naming 2018-12-05 22:42:45 -08:00
Benjamin Saunders b9702a2e14 DeviceV1_0::destroy_event 2018-12-05 22:42:05 -08:00
Maik Klein a0588c399a
Merge pull request #167 from MaikKlein/vendor-names
Move extensions into vendor specific modules
2018-12-05 15:16:52 +01: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
Maik Klein 8d676002ea
Merge pull request #166 from zakorgy/get-pipeline-cache
Add get_pipeline_cache_data
2018-12-04 20:47:01 +01:00
Zakor Gyula fa830166fc Add get_pipeline_cache_data 2018-12-04 16:37:09 +01:00
Maik Klein c1dc88e199
Merge pull request #164 from Ralith/next-fix
Fix builder next methods
2018-12-01 09:17:12 +01:00
Benjamin Saunders c0b7d91faf Don't generate extension traits for inextensible structs 2018-11-30 18:13:54 -08:00
Benjamin Saunders fc1625e81c Fix extension trait implementations, tweak naming
These were being implemented for the trait object of the extension
struct's own extension trait, instead of the extension struct itself.
2018-11-30 18:12:16 -08:00
Maik Klein bcaa563c5b Bump version 2018-11-22 22:11:22 +01:00
Maik Klein 1661cb88d0
Merge pull request #146 from MatusT/builder-next
Builder next
2018-11-22 22:05:52 +01:00
Matus Talcik 1be701f853 Builder: next pattern 2018-11-22 21:54:05 +01:00
Maik Klein 55c592e67d
Merge pull request #162 from MaikKlein/meshshader
Add NvMeshShader
2018-11-22 21:06:56 +01:00
Maik Klein f905308c24 Add NvMeshShader 2018-11-22 20:48:38 +01:00
Maik Klein 24f6fdb781 Bump version 2018-11-22 19:17:18 +01:00
Maik Klein f26bbb303d Remove imadone 2018-11-22 19:15:35 +01:00
Maik Klein 2be4f7abc5 Modified by board update on imdone.io [ci skip] [imdone skip] 2018-11-22 17:32:29 +01:00
Maik Klein 2de6314e02 Modified by board update on imdone.io [ci skip] [imdone skip] 2018-11-22 17:32:28 +01:00
Maik Klein b8a9eb28d2
Merge pull request #154 from MaikKlein/update-parser
Update generator to 1.1.92
2018-11-22 16:28:45 +01:00
Maik Klein 382923d643 Regenerate vk.rs 2018-11-22 16:15:14 +01:00
Maik Klein d7218ef7a8 Remove explicit length type 2018-11-22 16:13:09 +01:00
Maik Klein 3aaa804abd Add a cache for bitflags because there are duplicates 2018-11-22 16:13:09 +01:00
Maik Klein ef85a0b5f5 Add fuchsia typedefs 2018-11-22 16:13:09 +01:00
Maik Klein 3a7f811700 Generate aliases for types 2018-11-22 16:13:09 +01:00
Maik Klein f60cc9e532 Update vk.xml to spec 1.1.92 2018-11-22 16:13:09 +01:00
Maik Klein 9e4f25f282 Update vk_parse to 0.2 2018-11-22 16:13:09 +01:00
Maik Klein 6a5f18e6ac
Merge pull request #161 from msiglreith/pub_fn
Public export function pointers
2018-11-22 16:05:31 +01:00
msiglreith 86e273b71a Public export function pointers 2018-11-21 19:11:13 +01:00
Maik Klein 9a9f44f903 Modified by board update on imdone.io [ci skip] [imdone skip] 2018-11-20 17:56:43 +01:00
Maik Klein d567cf918c Modified by board update on imdone.io [ci skip] [imdone skip] 2018-11-20 17:56:41 +01:00
Maik Klein 8833ae73a5 Modified by board update on imdone.io [ci skip] [imdone skip] 2018-11-20 17:55:28 +01:00
Maik Klein 06e86f0901 Modified by board update on imdone.io [ci skip] [imdone skip] 2018-11-20 17:55:27 +01:00
Maik Klein 1c586099e6
Automatically merged TODO updates by imdone.io [ci skip] [imdone skip]
TODO updates by @imdone
2018-11-20 17:55:13 +01:00
imdone.io app user f7381f2307 TODO comments updated by @imdoneio [ci skip] [imdone skip] 2018-11-20 11:55:06 -05:00
Maik Klein ea1a6164c6
Merge pull request #159 from Ralith/readme-tweaks
Clarify some patterns in the README
2018-11-20 07:58:35 +01:00
Benjamin Saunders bb7d025fc1 Clarify some patterns in the README
- Dedicated section for strongly typed handles
- Extended discussion of builder safety
2018-11-19 20:35:48 -08:00
Maik Klein df3fbdc4dc
Merge pull request #153 from MatusT/rustfmt
Rustfmt in Ash
2018-11-18 08:58:40 +01:00
Matus Talcik b71dc58efb Initial support for rustfmt 2018-11-17 19:05:28 +01:00
Maik Klein 515f52fab9 Bump version 2018-11-16 18:45:54 +01:00
Maik Klein 9adbac7c8d Reformat vk 2018-11-16 18:41:36 +01:00
msiglreith e75bb61635 Update vk.rs 2018-11-16 18:41:36 +01:00