[Mesa-dev] [PATCH v3 13/14] anv: Enable VK_KHX_multiview and SPV_KHR_multiview
Jason Ekstrand
jason at jlekstrand.net
Thu Apr 27 16:31:42 UTC 2017
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
---
src/intel/vulkan/anv_device.c | 4 ++++
src/intel/vulkan/anv_pipeline.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 2b6ed69..b2edb54 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -328,6 +328,10 @@ static const VkExtensionProperties device_extensions[] = {
.extensionName = VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME,
.specVersion = 1,
},
+ {
+ .extensionName = VK_KHX_MULTIVIEW_EXTENSION_NAME,
+ .specVersion = 1,
+ },
};
static void *
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index b44d262..b5942d4 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -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 =
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list