Struct screen_13::driver::physical_device::Vulkan11Features
source · pub struct Vulkan11Features {
pub storage_buffer16_bit_access: bool,
pub uniform_and_storage_buffer16_bit_access: bool,
pub storage_push_constant16: bool,
pub storage_input_output16: bool,
pub multiview: bool,
pub multiview_geometry_shader: bool,
pub multiview_tessellation_shader: bool,
pub variable_pointers_storage_buffer: bool,
pub variable_pointers: bool,
pub protected_memory: bool,
pub sampler_ycbcr_conversion: bool,
pub shader_draw_parameters: bool,
}
Expand description
Description of Vulkan 1.1 features.
See
VkPhysicalDeviceVulkan11Features
manual page.
Fields§
§storage_buffer16_bit_access: bool
Specifies whether objects in the StorageBuffer, ShaderRecordBufferKHR, or PhysicalStorageBuffer storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members.
If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageBuffer16BitAccess capability.
uniform_and_storage_buffer16_bit_access: bool
Specifies whether objects in the Uniform storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members.
If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the UniformAndStorageBuffer16BitAccess capability.
storage_push_constant16: bool
Specifies whether objects in the PushConstant storage class can have 16-bit integer and 16-bit floating-point members.
If this feature is not enabled, 16-bit integer or floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StoragePushConstant16 capability.
storage_input_output16: bool
Specifies whether objects in the Input and Output storage classes can have 16-bit integer and 16-bit floating-point members.
If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageInputOutput16 capability.
multiview: bool
Specifies whether the implementation supports multiview rendering within a render pass.
If this feature is not enabled, the view mask of each subpass must always be zero.
multiview_geometry_shader: bool
Specifies whether the implementation supports multiview rendering within a render pass, with geometry shaders.
If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include a geometry shader.
multiview_tessellation_shader: bool
Specifies whether the implementation supports multiview rendering within a render pass, with tessellation shaders.
If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include any tessellation shaders.
variable_pointers_storage_buffer: bool
Specifies whether the implementation supports the SPIR-V VariablePointersStorageBuffer capability.
When this feature is not enabled, shader modules must not declare the SPV_KHR_variable_pointers extension or the VariablePointersStorageBuffer capability.
variable_pointers: bool
Specifies whether the implementation supports the SPIR-V VariablePointers capability.
When this feature is not enabled, shader modules must not declare the VariablePointers capability.
protected_memory: bool
Specifies whether protected memory is supported.
sampler_ycbcr_conversion: bool
Specifies whether the implementation supports sampler Y′CBCR conversion.
If sampler_ycbcr_conversion
is false
, sampler Y′CBCR conversion is not supported, and
samplers using sampler Y′CBCR conversion must not be used.
shader_draw_parameters: bool
Specifies whether the implementation supports the SPIR-V DrawParameters capability.
When this feature is not enabled, shader modules must not declare the SPV_KHR_shader_draw_parameters extension or the DrawParameters capability.