anv: Enable VK_KHX_multiview and SPV_KHR_multiview
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Mar 2017 00:43:10 +0000 (17:43 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 3 May 2017 18:25:46 +0000 (11:25 -0700)
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_pipeline.c

index d9fbfef..fc5baac 100644 (file)
@@ -370,6 +370,10 @@ static const VkExtensionProperties device_extensions[] = {
       .extensionName = VK_KHX_EXTERNAL_MEMORY_FD_EXTENSION_NAME,
       .specVersion = 1,
    },
+   {
+      .extensionName = VK_KHX_MULTIVIEW_EXTENSION_NAME,
+      .specVersion = 1,
+   },
 };
 
 static void *
index 643db9c..e96e2fc 100644 (file)
@@ -128,6 +128,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
       .tessellation = true,
       .draw_parameters = true,
       .image_write_without_format = true,
+      .multiview = true,
    };
 
    nir_function *entry_point =