[Mesa-stable] [Mesa-dev] [PATCH] radv: Support v3 of VK_EXT_vertex_attribute_divisor.
Jason Ekstrand
jason at jlekstrand.net
Mon Sep 10 20:04:32 UTC 2018
On Mon, Sep 10, 2018 at 2:53 PM Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
wrote:
> On Mon, Sep 10, 2018 at 8:59 PM Jason Ekstrand <jason at jlekstrand.net>
> wrote:
> >
> > I recommend CCing stable (I just did on mine) so that it goes into 18.2.
>
> You're right, added the CC in the commit when pushing. This has a
> dependency on 34a17a48d440add1da619efd054b50b210cd869b, which hasn't
> been marked though.
>
I forgot the CC when I pushed mine so I sent a manual e-mail to mesa-stable
asking them to back-port it and the XML/header update.
--Jason
> >
> > On Mon, Sep 10, 2018 at 1:35 PM Bas Nieuwenhuizen <
> bas at basnieuwenhuizen.nl> wrote:
> >>
> >> ---
> >> src/amd/vulkan/radv_device.c | 7 +++++++
> >> src/amd/vulkan/radv_extensions.py | 2 +-
> >> 2 files changed, 8 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> >> index 53f99a8cecd..7917ed7ffe5 100644
> >> --- a/src/amd/vulkan/radv_device.c
> >> +++ b/src/amd/vulkan/radv_device.c
> >> @@ -821,6 +821,13 @@ void radv_GetPhysicalDeviceFeatures2(
> >> features->inheritedConditionalRendering = false;
> >> break;
> >> }
> >> + case
> VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: {
> >> +
> VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT *features =
> >> +
> (VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT *)ext;
> >> + features->vertexAttributeInstanceRateDivisor =
> VK_TRUE;
> >> +
> features->vertexAttributeInstanceRateZeroDivisor = VK_TRUE;
> >> + break;
> >> + }
> >> default:
> >> break;
> >> }
> >> diff --git a/src/amd/vulkan/radv_extensions.py
> b/src/amd/vulkan/radv_extensions.py
> >> index b5b9c137927..fa35aabd3ba 100644
> >> --- a/src/amd/vulkan/radv_extensions.py
> >> +++ b/src/amd/vulkan/radv_extensions.py
> >> @@ -105,7 +105,7 @@ EXTENSIONS = [
> >> Extension('VK_EXT_sampler_filter_minmax', 1,
> 'device->rad_info.chip_class >= CIK'),
> >> Extension('VK_EXT_shader_viewport_index_layer', 1, True),
> >> Extension('VK_EXT_shader_stencil_export', 1, True),
> >> - Extension('VK_EXT_vertex_attribute_divisor', 2, True),
> >> + Extension('VK_EXT_vertex_attribute_divisor', 3, True),
> >> Extension('VK_AMD_draw_indirect_count', 1, True),
> >> Extension('VK_AMD_gcn_shader', 1, True),
> >> Extension('VK_AMD_rasterization_order', 1,
> 'device->has_out_of_order_rast'),
> >> --
> >> 2.18.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-stable/attachments/20180910/4ec6bfad/attachment-0001.html>
More information about the mesa-stable
mailing list