anv: Enable VK_KHX_multiview and SPV_KHR_multiview

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
Jason Ekstrand
2017-03-22 17:43:10 -07:00
parent 3dbd7737d4
commit 272b7e7d25
2 changed files with 5 additions and 0 deletions

View File

@@ -370,6 +370,10 @@ static const VkExtensionProperties device_extensions[] = {
.extensionName = VK_KHX_EXTERNAL_MEMORY_FD_EXTENSION_NAME, .extensionName = VK_KHX_EXTERNAL_MEMORY_FD_EXTENSION_NAME,
.specVersion = 1, .specVersion = 1,
}, },
{
.extensionName = VK_KHX_MULTIVIEW_EXTENSION_NAME,
.specVersion = 1,
},
}; };
static void * static void *

View File

@@ -128,6 +128,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
.tessellation = true, .tessellation = true,
.draw_parameters = true, .draw_parameters = true,
.image_write_without_format = true, .image_write_without_format = true,
.multiview = true,
}; };
nir_function *entry_point = nir_function *entry_point =