[Mesa-dev] [PATCH 2/3] radv: rename global extension properties structs

Andres Rodriguez andresx7 at gmail.com
Sat Jan 14 02:31:18 UTC 2017


On Fri, Jan 13, 2017 at 8:13 PM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:

> On 13 January 2017 at 23:44, Andres Rodriguez <andresx7 at gmail.com> wrote:
> > All extension arrays are global, but only one of them refers to instance
> > extensions.
> >
> > The device extension array refers to extensions that are common across
> > all physical devices. This disctinction will be more imporant once we
> Typos: "distinction" and "important"
>
> > have dynamic extension support for devices.
> >
> I think that this and 3/3 are very good idea, but since RADV supports
> only one device I'm not sure that they're applicable, yet.
> Not too familiar with the RADV code so I might be off there.
>

Besides differences in HW functionality, another use for this feature would
be to expose an extension only if the software stack supports it.

Eg. something like:

if (libdrm_version >= x && drm_version >= y)
    register_extension(...)

This will come into play with some of the other patches on amd-gfx that
you've helped me review :)


>
> Emil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170113/65183097/attachment-0001.html>


More information about the mesa-dev mailing list