Skip to content

Conversation

davebayer
Copy link

@davebayer davebayer commented Mar 9, 2024

This pull request introduces VkFFTVendor enum datatype for vendor id instead of using magic values.

@davebayer davebayer changed the title vendor enum Use enum for vendor ID Mar 9, 2024
@DTolm
Copy link
Owner

DTolm commented Mar 22, 2024

Hello,

Thank you for the change, it will also make the code more clear. It missed the 0x1027f00 Apple vendor ID definition and I am not sure yet whether the casting of vendor IDs returned by different APIs to the enum will trigger any warnings (in Vulkan I believe it to be an unsigned integer).

Best regards,
Dmitrii

@davebayer
Copy link
Author

Hi,

I have fixed the casts from different types and added VKFFT_VENDOR_APPLE to the enum. I am sorry, I overlooked it completely.

Best regards,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants