[Mesa-dev] [PATCH 3/4] radv: Add support for VK_EXT_shader_viewport_index_layer extension.
Ilia Mirkin
imirkin at alum.mit.edu
Tue Aug 15 00:19:32 UTC 2017
Don't you also need to add support for the ShaderViewportIndexLayerEXT
spir-v capability somewhere?
On Mon, Aug 14, 2017 at 8:02 PM, Bas Nieuwenhuizen
<bas at basnieuwenhuizen.nl> wrote:
> We were using it internally already.
> ---
> src/amd/vulkan/radv_device.c | 4 ++++
> src/amd/vulkan/radv_entrypoints_gen.py | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 85ba165b4c6..473db513c87 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -168,6 +168,10 @@ static const VkExtensionProperties common_device_extensions[] = {
> .extensionName = VK_KHR_VARIABLE_POINTERS_EXTENSION_NAME,
> .specVersion = 1,
> },
> + {
> + .extensionName = VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME,
> + .specVersion = 1,
> + },
> };
> static const VkExtensionProperties ext_sema_device_extensions[] = {
> {
> diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py
> index 9634f76fcd6..0411524d38c 100644
> --- a/src/amd/vulkan/radv_entrypoints_gen.py
> +++ b/src/amd/vulkan/radv_entrypoints_gen.py
> @@ -57,6 +57,7 @@ SUPPORTED_EXTENSIONS = [
> 'VK_KHR_external_semaphore_capabilities',
> 'VK_KHR_external_semaphore',
> 'VK_KHR_external_semaphore_fd',
> + 'VK_EXT_shader_viewport_index_layer',
> ]
>
> # We generate a static hash table for entry point lookup
> --
> 2.14.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list