File: vk_hpp.cpp

package info (click to toggle)
vulkan-loader 1.4.341.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 46,144 kB
  • sloc: cpp: 355,133; ansic: 47,211; xml: 35,110; python: 6,125; asm: 3,534; makefile: 71; sh: 53
file content (13 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright 2025 The Khronos Group Inc.
 * Copyright 2025 Valve Corporation
 * Copyright 2025 LunarG, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */
#include <vulkan/vulkan.hpp>

int test_version()
{
    return static_cast<int>(vk::makeApiVersion(1, 0, 0, 0));
}