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

Function vk2dfd

external/dfdutils/vk2dfd.c:26–33  ·  view source on GitHub ↗

* @~English * @brief Create a DFD matching a VkFormat. * * @param[in] format VkFormat for which to create a DFD. * * @return pointer to the created DFD or 0 if format not supported or * unrecognized. Caller is responsible for freeing the created * DFD. */

Source from the content-addressed store, hash-verified

24 * DFD.
25 */
26uint32_t*
27vk2dfd(enum VkFormat format)
28 {
29 switch (format) {
30#include "vk2dfd.inl"
31 default: return 0;
32 }
33 }
34

Callers 7

createDfd4FormatMethod · 0.85
createFormatDescriptorFunction · 0.85
calculateExpectedDFDMethod · 0.85
ktxVk2dfdFunction · 0.85
runTestMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

runTestMethod · 0.68
TEST_FFunction · 0.68