Commit graph

258 commits

Author SHA1 Message Date
Graham Wihlidal
0ed0a06634 Added helper on RayTracing to query physical device ray tracing properties info (such as shader group handle size) 2019-02-10 23:55:31 +01:00
Graham Wihlidal
011e9e611f Added DescriptorIndexing extension (just name for now), and also added names for VK_KHR_get_memory_requirements2 and VK_KHR_get_physical_device_properties2 (both are commonly used, and required for ray tracing) 2019-02-10 23:54:44 +01:00
Graham Wihlidal
9b6fa860c9 Improved get_acceleration_structure_handle and keep local device handle in rt extension 2019-02-10 13:37:53 +01:00
Graham Wihlidal
c9495df122 Implemented get_acceleration_structure_handle 2019-02-10 03:56:54 +01:00
Graham Wihlidal
458a6fba20 Implemented get_ray_tracing_shader_group_handles 2019-02-10 03:51:32 +01:00
Graham Wihlidal
1c1fa85b91 Implemented create_ray_tracing_pipelines 2019-02-10 03:45:07 +01:00
Graham Wihlidal
ea66baff62 Implemented cmd_write_acceleration_structures_properties 2019-02-10 03:38:01 +01:00
Graham Wihlidal
b0c554cbe5 Implemented cmd_trace_rays 2019-02-10 03:33:16 +01:00
Graham Wihlidal
5eb9f09c80 Implemented cmd_copy_acceleration_structure 2019-02-10 03:29:51 +01:00
Graham Wihlidal
58ffae64de Implemented cmd_build_acceleration_structure 2019-02-10 03:28:07 +01:00
Graham Wihlidal
04bb5de31e Implemented compile_deferred 2019-02-10 03:19:37 +01:00
Graham Wihlidal
4297ea9c61 Implemented bind_acceleration_structure_memory 2019-02-10 03:12:04 +01:00
Graham Wihlidal
1213e92687 Rust format 2019-02-10 03:12:00 +01:00
Graham Wihlidal
24da3bb446 Implemented get_acceleration_structure_memory_requirements 2019-02-10 03:03:25 +01:00
Graham Wihlidal
bff6f049ea Implemented destroy_acceleration_structure 2019-02-10 02:57:42 +01:00
Graham Wihlidal
0a962b42cc Implemented NV RayTracing wrapper, and wrapped create_acceleration_structure_nv 2019-02-09 21:46:51 +01:00
Maik Klein
acaf8f2b99 Bump version to 0.27.1 2019-01-13 12:41:56 +01:00
Maik Klein
d22d1c3f38 switch from Error::cause to Error::source 2019-01-13 12:24:34 +01:00
Chris Butler
36f935a81a Update lazy_static version to match shared_library's 2019-01-12 21:54:12 -05:00
bors[bot]
68a1d2aaa2 Merge #175
175: Add event functions r=MaikKlein a=MaikKlein

Fixes https://github.com/MaikKlein/ash/issues/174


Co-authored-by: Maik Klein <maikklein@googlemail.com>
2019-01-11 08:32:51 +00:00
Maik Klein
4c4df6c446 Bump version to 0.27.0 because there was a breaking change 2019-01-10 22:54:31 +01:00
Maik Klein
6d2fe02bb5 Bump version to 0.26.3 2019-01-10 22:37:55 +01:00
Maik Klein
6e5029cac9 Add command events 2019-01-10 22:34:53 +01:00
Maik Klein
74ac8f3ac4 Add event function 2019-01-10 22:28:59 +01:00
Matus Talcik
6497e2f58c Builder: fix [c_void] 2018-12-09 11:52:28 +01:00
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
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
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
Zakor Gyula
fa830166fc Add get_pipeline_cache_data 2018-12-04 16:37:09 +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
Matus Talcik
1be701f853 Builder: next pattern 2018-11-22 21:54:05 +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
382923d643 Regenerate vk.rs 2018-11-22 16:15:14 +01:00
msiglreith
86e273b71a Public export function pointers 2018-11-21 19:11:13 +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
Maik Klein
058e4284f6
Merge pull request #151 from gwihlidal/mac_fixes
Fix macOS instance loading - use libvulkan.dylib instead of libMoltenVK.dylib so that loader is not bypassed
2018-11-16 18:23:02 +01:00
Graham Wihlidal
2efa1e4f74 Fix macOS instance loading - need to load through libvulkan.dylib, not libMoltenVK.dylib. Otherwise loading fails since the validation layers and debug report extensions can't be found (the loader is bypassed in this case, similar to directly linking against an IHV driver). Resolves #149 2018-11-16 18:00:40 +01:00
Matus Talcik
8a82125788 Builder pattern: Bool32 -> bool. Edge cases added 2018-11-12 23:22:16 +01:00