File: test.rs

package info (click to toggle)
python-glad 2.0.2-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,360 kB
  • sloc: xml: 76,627; ansic: 5,843; python: 2,413; sh: 423; cpp: 248; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 619 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#![deny(warnings)]
/**
 * Full VK should compile
 *
 * GLAD: $GLAD --out-path=$tmp --api="vulkan=" rust
 * COMPILE: cp -r $test_dir/. $tmp && cd $tmp && cargo build
 * RUN: cargo run
 */
extern crate glad_vulkan;
use glad_vulkan::vk;

#[allow(path_statements)]
fn main() {
    vk::GetDeviceProcAddr;
    vk::GetSwapchainImagesKHR;

    vk::GetMemoryWin32HandleNV;
    vk::CreateMacOSSurfaceMVK;
    vk::CreateWaylandSurfaceKHR;
    vk::CreateViSurfaceNN;
    vk::CreateIOSSurfaceMVK;
    vk::GetRandROutputDisplayEXT;
    vk::GetPhysicalDeviceXcbPresentationSupportKHR;
    vk::GetMemoryAndroidHardwareBufferANDROID;
}