Download third_party/ktx-src/external/dfdutils/vk2dfd.c from kimjunhan/vkgs-sim: direct link, hf CLI and curl.
- Browser
- Download file 660 Bytes
-
https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/ktx-src/external/dfdutils/vk2dfd.c
- Command line
-
hf download hf://kimjunhan/vkgs-sim/third_party/ktx-src/external/dfdutils/vk2dfd.c
-
curl -L -o vk2dfd.c https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/ktx-src/external/dfdutils/vk2dfd.c
660 Bytes
| /* -*- tab-width: 4; -*- */ | |
| /* vi: set sw=2 ts=4 expandtab: */ | |
| /* Copyright 2019-2020 Mark Callow | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| /** | |
| * @file | |
| * @~English | |
| * @brief Create a DFD for a VkFormat. | |
| */ | |
| /** | |
| * @~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. | |
| */ | |
| uint32_t* | |
| vk2dfd(enum VkFormat format) | |
| { | |
| switch (format) { | |
| default: return 0; | |
| } | |
| } | |