Commit graph

468 commits

Author SHA1 Message Date
bors[bot]
c801dea0dc Merge #184
184: Experimental AMD extensions r=MaikKlein a=msiglreith

Addresses https://github.com/MaikKlein/ash/issues/178#issuecomment-457942089

Not fully supports all parts of the APIs, just trying to get some general feedback if this meets the expected structuring.

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2019-02-25 13:49:34 +00:00
msiglreith
2f60510c87 Add experimental AMD extensions 2019-02-24 15:10:15 +01:00
Graham Wihlidal
3941c762a7 Minor cleanup 2019-02-14 12:28:45 +01:00
Graham Wihlidal
658743f59b Use 1.0 in ray tracing extension except for get_properties helper function 2019-02-14 12:15:19 +01:00
Graham Wihlidal
ff44b2cb16 Remove extension names from mod.rs and make all extensions use auto-generated names 2019-02-14 12:03:41 +01:00
Graham Wihlidal
b253d39abe
Merge pull request #2 from MaikKlein/master
Updated from master
2019-02-14 11:46:29 +01:00
Maik Klein
04e6e372cd Update to 1.1.97 2019-02-14 00:16:52 +01:00
Maik Klein
52e9c63ecd Regenerate vk.rs 2019-02-12 15:04:47 +01:00
Graham Wihlidal
69527c759a Rustfmt 2019-02-11 16:21:43 +01:00
Graham Wihlidal
09ee78401f Added maintenance 1-3 extension names to khr/mod.rs and moved KHR extension names from EXT to proper place. 2019-02-11 15:44:37 +01:00
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