vulkano/examples
Okko Hakola db4657d0f0
See if 0 (but not None) timeout would solve crash (#2543)
* See if 0 (but not None) timeout would solve crash

* Try 1 sec timeout
2024-09-11 17:23:13 +02:00
..
async-update Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
basic-compute-shader Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
buffer-allocator Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
clear-attachments Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
debug Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
deferred Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
dynamic-buffers Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
dynamic-local-size Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
gl-interop Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
image Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
image-self-copy-blit Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
immutable-sampler Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
indirect Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
instancing Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
interactive-fractal See if 0 (but not None) timeout would solve crash (#2543) 2024-09-11 17:23:13 +02:00
mesh-shader Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
msaa-renderpass Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
multi-window Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
multi-window-game-of-life See if 0 (but not None) timeout would solve crash (#2543) 2024-09-11 17:23:13 +02:00
multiview Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
occlusion-query Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
offscreen Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
pipeline-caching Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
push-constants Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
push-descriptors Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
runtime-array Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
runtime-shader Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
self-copy-buffer Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
shader-include Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
shader-types-derive Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
shader-types-sharing Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
simple-particles Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
specialization-constants Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
teapot Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
tessellation Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
texture-array Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
triangle Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
triangle-util See if 0 (but not None) timeout would solve crash (#2543) 2024-09-11 17:23:13 +02:00
triangle-v1_3 Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
README.md Fix typos and introduce a workflow (#2537) 2024-06-30 13:19:35 +02:00
run_all.sh Improve the examples' directory structure (#2375) 2023-10-29 18:46:14 +01:00

Examples

The examples shown here will not necessarily work for the latest stable release of Vulkano. By default, GitHub shows the most recent unstable revision, rather than the last stable release. You can switch GitHub to show the examples for stable releases as follows.

Selecting the version tag:

1. Find the branch/tag selection box and click it. change_tag_1
2. Select click on the tags tab. change_tag_2
3. Click on the desired version. change_tag_3
4. After selecting it should look like this. change_tag_4

Running the examples:

cargo run --bin <example>

Example:

cargo run --bin triangle

If you want to compare performances with other libraries, you should pass the --release flag as well. Rust is pretty slow in debug mode.