You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This format is useful for interop between NVRHI and some other APIs (in my case SDL). It would be useful to avoid custom code to translate pixel formats or having to "fake" the format via BGRA8.
BGRX8 is supported in Vulkan and D3D (DXGI), and doesn't exist in Metal. It seems straight-forward to add to D3D and Vulkan, using the existing format tables, and in Metal NVRHI can return no support via the mechanism to indicate there's no support for a particular format (Device::queryFormatSupport).
Would this be an acceptable new feature? If so I'm happy to put together a PR.
The text was updated successfully, but these errors were encountered:
My bad, looks like the format doesn't exist in Vulkan. Probably isn't worth supporting it directly, but I'll leave it open in case it's something worth doing.
This format is useful for interop between NVRHI and some other APIs (in my case SDL). It would be useful to avoid custom code to translate pixel formats or having to "fake" the format via BGRA8.
BGRX8 is supported in Vulkan and D3D (DXGI), and doesn't exist in Metal. It seems straight-forward to add to D3D and Vulkan, using the existing format tables, and in Metal NVRHI can return no support via the mechanism to indicate there's no support for a particular format (
Device::queryFormatSupport
).Would this be an acceptable new feature? If so I'm happy to put together a PR.
The text was updated successfully, but these errors were encountered: