On Tue, Mar 23, 2021 at 04:04:35PM +0000, Simon Ser wrote: > Can we instead have a macro/function to get the vendor? This would be > useful elsewhere as well, see drmGetFormatModifierVendor in a recent-ish > libdrm patch [1]. > > [1]: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/108/diffs#91ecb12b27c7154b26013bb95e17a5cc24ea443e_947_947 Either way would work. I chose this because it ends up being much shorter than extracting the vendor and comparing to the constant. Maybe we should just add both? Thierry
Attachment:
signature.asc
Description: PGP signature