.KHR_maintenance1 = true,
.KHR_maintenance2 = true,
.KHR_maintenance3 = true,
+ .KHR_multiview = true,
.KHR_shader_non_semantic_info = true,
.KHR_sampler_mirror_clamp_to_edge = true,
.KHR_storage_buffer_storage_class = true,
.uniformAndStorageBuffer16BitAccess = false,
.storagePushConstant16 = false,
.storageInputOutput16 = false,
- .multiview = false,
+ .multiview = true,
.multiviewGeometryShader = false,
.multiviewTessellationShader = false,
.variablePointersStorageBuffer = true,
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: {
VkPhysicalDeviceMultiviewProperties *props =
(VkPhysicalDeviceMultiviewProperties *)ext;
- props->maxMultiviewViewCount = 1;
- /* This assumes that the multiview implementation uses instancing */
- props->maxMultiviewInstanceIndex =
- (UINT32_MAX / props->maxMultiviewViewCount) - 1;
+ props->maxMultiviewViewCount = MAX_MULTIVIEW_VIEW_COUNT;
+ props->maxMultiviewInstanceIndex = UINT32_MAX - 1;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT:
static const struct spirv_to_nir_options default_spirv_options = {
.caps = {
.device_group = true,
- .variable_pointers = true,
+ .multiview = true,
.subgroup_basic = true,
+ .variable_pointers = true,
},
.ubo_addr_format = nir_address_format_32bit_index_offset,
.ssbo_addr_format = nir_address_format_32bit_index_offset,