Cargo Features

Bedrock has no features set by default.

[dependencies]
bedrock = { version = "1.1.70", features = ["VK_KHR_surface", "VK_KHR_swapchain", "VK_KHR_display", "VK_KHR_display_swapchain", "VK_KHR_xlib_surface", "VK_KHR_xcb_surface", "VK_KHR_wayland_surface", "VK_KHR_android_surface", "VK_KHR_win32_surface", "VK_KHR_shader_draw_parameters", "VK_KHR_maintenance1", "VK_KHR_external_memory_win32", "VK_KHR_win32_keyed_mutex", "VK_KHR_external_semaphore_win32", "VK_KHR_external_semaphore_fd", "VK_KHR_push_descriptor", "VK_KHR_incremental_present", "VK_KHR_descriptor_update_template", "VK_KHR_shared_presentable_image", "VK_KHR_external_fence_win32", "VK_KHR_get_surface_capabilities2", "VK_KHR_relaxed_block_layout", "VK_EXT_depth_range_unrestricted", "VK_AMD_rasterization_order", "VK_AMD_shader_explicit_vertex_parameter", "VK_EXT_debug_marker", "VK_NV_dedicated_allocation", "VK_AMD_draw_indirect_count", "VK_AMD_gpu_shader_half_float", "VK_AMD_shader_info", "VK_IMG_format_pvrtc", "VK_NV_external_memory", "VK_NV_external_memory_win32", "VK_NV_win32_keyed_mutex", "VK_KHX_device_group", "VK_EXT_shader_group_ballot", "VK_KHX_device_group_creation", "VK_NVX_device_generated_commands", "VK_NV_clip_space_w_scaling", "VK_EXT_direct_mode_display", "VK_EXT_acquire_xlib_display", "VK_EXT_display_control", "VK_NV_sample_mask_override_coverage", "VK_NV_viewport_array2", "VK_NV_viewport_swizzle", "VK_EXT_discard_rectangles", "VK_EXT_swapchain_colorspace", "VK_MVK_macos_surface", "VK_EXT_queue_family_foreign", "VK_AMD_gpu_shader_int16", "VK_AMD_shader_fragment_mask", "VK_EXT_blend_operation_advanced", "VK_NV_framebuffer_mixed_samples", "VK_EXT_validation_cache", "VK_EXT_global_priority", "VK_AMD_buffer_marker", "VK_EXT_vertex_attribute_divisor", "Implements", "Multithreaded", "Presentation"] }
VK_KHR_surface Presentation?
VK_KHR_swapchain Presentation?

Affects resources::ImageCell

VK_KHR_display Presentation?
VK_KHR_display_swapchain
VK_KHR_xlib_surface = x11
VK_KHR_xcb_surface = xcb
VK_KHR_wayland_surface = wayland-client
VK_KHR_android_surface = android_ffi
VK_KHR_win32_surface = winapi
VK_KHR_sampler_mirror_clamp_to_edge VK_KHR_shader_draw_parameters
VK_KHR_maintenance1
VK_KHR_external_memory_win32 = winapi
VK_KHR_external_memory_fd VK_KHR_win32_keyed_mutex
VK_KHR_external_semaphore_win32 = winapi
VK_KHR_external_semaphore_fd
VK_KHR_push_descriptor

Affects vk::vkCmdPushDescriptorSetKHR

VK_KHR_incremental_present
VK_KHR_descriptor_update_template

Affects vk::vkCmdPushDescriptorSetWithTemplateKHR

VK_KHR_shared_presentable_image
VK_KHR_external_fence_win32 = winapi
VK_KHR_external_fence_fd VK_KHR_get_surface_capabilities2
VK_KHR_storage_buffer_storage_class VK_KHR_relaxed_block_layout
VK_EXT_debug_report VK_NV_glsl_shader VK_EXT_depth_range_unrestricted
VK_IMG_filter_cubic VK_AMD_rasterization_order
VK_AMD_shader_trinary_minmax VK_AMD_shader_explicit_vertex_parameter
VK_EXT_debug_marker

Affects vk::vkCmdDebugMarkerBeginEXT, vk::vkCmdDebugMarkerEndEXT, vk::vkCmdDebugMarkerInsertEXT

VK_AMD_gcn_shader VK_NV_dedicated_allocation
VK_AMD_draw_indirect_count

Affects vk::vkCmdDrawIndirectCountAMD, vk::vkCmdDrawIndexedIndirectCountAMD

VK_AMD_negative_viewport_height VK_AMD_gpu_shader_half_float
VK_AMD_shader_ballot VK_AMD_texture_gather_bias_lod VK_AMD_shader_info
VK_AMD_shader_image_load_store_lod VK_IMG_format_pvrtc
VK_NV_external_memory_capabilities VK_NV_external_memory
VK_NV_external_memory_win32 = winapi
VK_NV_win32_keyed_mutex
VK_KHX_device_group

Affects vk::vkCmdSetDeviceMaskKHX, vk::vkCmdDispatchBaseKHX

VK_EXT_validation_flags VK_NN_vi_surface VK_EXT_shader_group_ballot
VK_EXT_shader_subgroup_vote VK_KHX_device_group_creation
VK_NVX_device_generated_commands

Affects vk::vkCmdProcessCommandsNVX, vk::vkCmdReserveSpaceForCommandsNVX

VK_NV_clip_space_w_scaling

Affects vk::vkCmdSetViewportWScalingNV

VK_EXT_direct_mode_display
VK_EXT_acquire_xlib_display = x11
VK_EXT_display_surface_counter VK_EXT_display_control
VK_GOOGLE_display_timing VK_NV_sample_mask_override_coverage
VK_NV_geometry_shader_passthrough VK_NV_viewport_array2
VK_NVX_multiview_per_view_attributes VK_NV_viewport_swizzle
VK_EXT_discard_rectangles

Affects vk::vkCmdDiscardRectangleEXT

VK_EXT_conservative_rasterization VK_EXT_swapchain_colorspace
VK_EXT_hdr_metadata VK_MVK_ios_surface VK_MVK_macos_surface
VK_EXT_external_memory_dma_buf VK_EXT_queue_family_foreign
VK_EXT_sampler_filter_minmax VK_AMD_gpu_shader_int16
VK_AMD_mixed_attachment_samples VK_AMD_shader_fragment_mask
VK_EXT_sample_locations VK_EXT_blend_operation_advanced
VK_NV_fragment_coverage_to_color VK_NV_framebuffer_mixed_samples
VK_NV_fill_rectangle VK_EXT_post_depth_coverage VK_EXT_validation_cache
VK_EXT_shader_viewport_index_layer VK_EXT_global_priority
VK_EXT_external_memory_host VK_AMD_buffer_marker
VK_EXT_vertex_attribute_divisor
Implements

Affects command::CmdRecord, device::Waitable, resources::MemoryBound, sync::Status

Multithreaded
Presentation = VK_KHR_display, VK_KHR_surface, VK_KHR_swapchain

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

x11 VK_EXT_acquire_xlib_display? VK_KHR_xlib_surface?
xcb VK_KHR_xcb_surface?

Enables xcb ~0.8

wayland-client VK_KHR_wayland_surface?

Enables wayland-client ~0.9

android_ffi VK_KHR_android_surface?
winapi VK_KHR_external_fence_win32? VK_KHR_external_memory_win32? VK_KHR_external_semaphore_win32? VK_KHR_win32_surface? VK_NV_external_memory_win32?