[Mesa-dev] [PATCH v2] anv: enable VK_EXT_shader_viewport_index_layer

Jason Ekstrand jason at jlekstrand.net
Thu Apr 26 19:44:35 UTC 2018


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Thu, Apr 26, 2018 at 12:11 PM, Caio Marcelo de Oliveira Filho <
caio.oliveira at intel.com> wrote:

> Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
> ---
>  src/intel/vulkan/anv_extensions.py | 1 +
>  src/intel/vulkan/anv_pipeline.c    | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_
> extensions.py
> index d0b70a0405..b5bee0881c 100644
> --- a/src/intel/vulkan/anv_extensions.py
> +++ b/src/intel/vulkan/anv_extensions.py
> @@ -111,6 +111,7 @@ EXTENSIONS = [
>      Extension('VK_EXT_external_memory_dma_buf',           1, True),
>      Extension('VK_EXT_global_priority',                   1,
>                'device->has_context_priority'),
> +    Extension('VK_EXT_shader_viewport_index_layer',       1, True),
>  ]
>
>  class VkVersion:
> diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_
> pipeline.c
> index e64602d284..56bea7bf0d 100644
> --- a/src/intel/vulkan/anv_pipeline.c
> +++ b/src/intel/vulkan/anv_pipeline.c
> @@ -144,6 +144,7 @@ anv_shader_compile_to_nir(struct anv_pipeline
> *pipeline,
>           .multiview = true,
>           .variable_pointers = true,
>           .storage_16bit = device->instance->physicalDevice.info.gen >= 8,
> +         .shader_viewport_index_layer = true,
>           .subgroup_arithmetic = true,
>           .subgroup_basic = true,
>           .subgroup_ballot = true,
> --
> 2.17.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180426/87b5bbde/attachment.html>


More information about the mesa-dev mailing list