MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / ktxVk2dfd

Function ktxVk2dfd

lib/texture2.c:370–374  ·  view source on GitHub ↗

* @private * @~English * @brief Create a DFD for a VkFormat. * * This KTX-specific function adds support for combined depth stencil formats * which are not supported by @e dfdutils' @c vk2dfd function because they * are not seen outside a Vulkan device. KTX has its own definitions for * these that enable uploading, with some effort. * * @param[in] vkFormat the format for which to create

Source from the content-addressed store, hash-verified

368 * @param[in] vkFormat the format for which to create a DFD.
369 */
370static uint32_t*
371ktxVk2dfd(ktx_uint32_t vkFormat)
372{
373 return vk2dfd(vkFormat);
374}
375
376/**
377 * @memberof ktxTexture2 @private

Callers 1

ktxTexture2_constructFunction · 0.85

Calls 1

vk2dfdFunction · 0.85

Tested by

no test coverage detected