SaschaWillems / Vulkan

C++ examples for the Vulkan graphics API
MIT License
10.39k stars 2.04k forks source link

Sample Request: VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR #1123

Closed kyamant closed 1 month ago

kyamant commented 6 months ago

There aren't any samples out there showing the usage of VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR. A detailed example will fill this void; may I suggest a 4:2:2 10 bit YUV sample?

SaschaWillems commented 6 months ago

What would be the actual use case of such a sample?

kyamant commented 6 months ago

YUV (or YCbCr) format is predominantly used in video. Thus, the typical use case would be the intermix of video originated content and computer generated imagery, be it raytracing pipeline or graphics pipeline.

The sample could be a glTF tv set but what is shown on that tv is coming from a video recorded in YUV format.

SaschaWillems commented 1 month ago

I don't have plans for any sample regarding Vulkan video. But feel free to open a request at https://github.com/KhronosGroup/Vulkan-Samples. Chances of getting such a sample over there are higher.