Download third_party/ktx-src/external/dfdutils/dfd2vk.c from kimjunhan/vkgs-sim: direct link, hf CLI and curl.
- Browser
- Download file 533 Bytes
-
https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/ktx-src/external/dfdutils/dfd2vk.c
- Command line
-
hf download hf://kimjunhan/vkgs-sim/third_party/ktx-src/external/dfdutils/dfd2vk.c
-
curl -L -o dfd2vk.c https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/ktx-src/external/dfdutils/dfd2vk.c
533 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 Find the VkFormat matching a DFD. | |
| */ | |
| /** | |
| * @~English | |
| * @brief Return a VkFormat matching a DFD. | |
| * | |
| * @param[in] dfd Pointer to the DFD. | |
| * | |
| * @return The matching VkFormat enum or VK_FORMAT_UNDEFINED if not | |
| * matched. | |
| */ | |
| enum VkFormat dfd2vk(uint32_t *dfd) | |
| { | |
| } | |