Vulkan 1.1 has VK_KHR_device_group and VK_KHR_device_group_creation
promoted to core, thus we should handle DeviceIndex built-in.
While we are here, also add these extensions to the extensions list,
even though they are not doing anything useful.
Fixes test:
dEQP-VK.compute.device_group.device_index
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9516>
*/
.lower_int64_options = (nir_lower_int64_options)~0,
.lower_uniforms_to_ubo = true,
+ .lower_device_index_to_zero = true,
};
const nir_shader_compiler_options *
Extension('VK_KHR_depth_stencil_resolve', 1, True),
Extension('VK_KHR_performance_query', 1, 'device->instance->debug_flags & TU_DEBUG_PERFC'),
Extension('VK_EXT_memory_budget', 1, True),
+ Extension('VK_KHR_device_group', 4, True),
+ Extension('VK_KHR_device_group_creation', 1, True),
]
MAX_API_VERSION = VkVersion(MAX_API_VERSION)
.multiview = true,
.shader_viewport_index_layer = true,
.geometry_streams = true,
+ .device_group = true,
},
};
const nir_shader_compiler_options *nir_options =