<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 26, 2018 at 12:11 PM, Caio Marcelo de Oliveira Filho <span dir="ltr"><<a href="mailto:caio.oliveira@intel.com" target="_blank">caio.oliveira@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Reviewed-by: Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>><br>
</span><span class="">---<br>
 src/intel/vulkan/anv_<wbr>extensions.py | 1 +<br>
 src/intel/vulkan/anv_pipeline.<wbr>c    | 1 +<br>
 2 files changed, 2 insertions(+)<br>
<br>
diff --git a/src/intel/vulkan/anv_<wbr>extensions.py b/src/intel/vulkan/anv_<wbr>extensions.py<br>
</span>index d0b70a0405..b5bee0881c 100644<br>
--- a/src/intel/vulkan/anv_<wbr>extensions.py<br>
+++ b/src/intel/vulkan/anv_<wbr>extensions.py<br>
@@ -111,6 +111,7 @@ EXTENSIONS = [<br>
<span class="">     Extension('VK_EXT_external_<wbr>memory_dma_buf',           1, True),<br>
</span>     Extension('VK_EXT_global_<wbr>priority',                   1,<br>
               'device->has_context_priority'<wbr>),<br>
<span class="">+    Extension('VK_EXT_shader_<wbr>viewport_index_layer',       1, True),<br>
 ]<br>
<br>
 class VkVersion:<br>
diff --git a/src/intel/vulkan/anv_<wbr>pipeline.c b/src/intel/vulkan/anv_<wbr>pipeline.c<br>
</span>index e64602d284..56bea7bf0d 100644<br>
--- a/src/intel/vulkan/anv_<wbr>pipeline.c<br>
+++ b/src/intel/vulkan/anv_<wbr>pipeline.c<br>
@@ -144,6 +144,7 @@ anv_shader_compile_to_nir(<wbr>struct anv_pipeline *pipeline,<br>
<span class="">          .multiview = true,<br>
          .variable_pointers = true,<br>
          .storage_16bit = device->instance-><wbr>physicalDevice.info.gen >= 8,<br>
+         .shader_viewport_index_layer = true,<br>
</span>          .subgroup_arithmetic = true,<br>
          .subgroup_basic = true,<br>
          .subgroup_ballot = true,<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.17.0<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div>