Module: Mesa Branch: master Commit: 272b7e7d25d54ed7c428bde6977dcc2a57299dad URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=272b7e7d25d54ed7c428bde6977dcc2a57299dad
Author: Jason Ekstrand <[email protected]> Date: Wed Mar 22 17:43:10 2017 -0700 anv: Enable VK_KHX_multiview and SPV_KHR_multiview Reviewed-by: Iago Toral Quiroga <[email protected]> --- 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 d9fbfefe31..fc5baac0ac 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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 * diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 643db9cb9f..e96e2fcedb 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 = _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
