Safe and rich Rust wrapper around the Vulkan API
This report summarizes scanner evidence for vulkano-rs/vulkano, a Rust project with 5,183 GitHub stars. SynthScan examined 282,354 lines of code across 301 source files, recording 1197 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 4.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1176 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 21 finding(s).
Which changes need focused human review? 1197 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1197 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vulkano-shaders/src/lib.rs | 1 | //! The procedural macro for vulkano's shader system. Manages the compile-time compilation of | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 21 | //! ``` | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 41 | //! each shader. They are named based on the provided names, `load_first`, `load_second` etc. | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 61 | //! # | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 81 | //! pub unsafe fn load(device: &Arc<Device>) -> Result<Self, VulkanError> { | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 101 | //! } | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 121 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 141 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 161 | //! ## `bytes` | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 181 | //! # macro_rules! shader { ($($tt:tt)*) => {}; } | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 201 | //! # | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 221 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 241 | //! When using `shaderc`, you must have [`glslc`] available on your `PATH`. When using `slangc`, | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 261 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 281 | //! }, | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 301 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 321 | //! Above, the shaders named `first` and `second` will be compiled with `-DX=1 -DY=2` and | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 341 | //! See [`cargo-env-vars`] for a full set of env variables set by cargo. It is also possible to | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 361 | //! `#include <...>` directive within a shader source. Include directories can be absolute or | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 381 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 401 | //! ## `spirv_version` | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 421 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 441 | //! use for such structs and may choose to disable them. | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 461 | //! always derived. | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 481 | //! `std` uses arrays to represent vectors and matrices. Note that if the chosen crate doesn't have | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 501 | //! # Cargo features | COMMENT |
| LOW | vulkano-shaders/src/tests.rs | 961 | /// | COMMENT |
| LOW | vulkano-shaders/src/tests.rs | 981 | /// float(push.data), | COMMENT |
| LOW | vulkano-shaders/src/tests.rs | 1001 | /// | COMMENT |
| LOW | vulkano-shaders/src/structs.rs | 1081 | let offset = member.offset; | COMMENT |
| LOW | vulkano-shaders/src/structs.rs | 1101 | // rounded up to the nearest multiple of its alignment which is 4 in this case. We | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 1 | // This file is auto-generated by vulkano autogen from vk.xml header version 1.3.281. | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 21 | ///- Promoted to Vulkan 1.1 | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 41 | pub khr_get_physical_device_properties2: bool, | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 61 | /// - Instance extension [`khr_surface`](InstanceExtensions::khr_surface) | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 81 | pub ext_debug_report: bool, | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 101 | pub ext_layer_settings: bool, | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 121 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_FUCHSIA_imagepipe_s | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 141 | ///- Deprecated by [`ext_metal_surface`](InstanceExtensions::ext_metal_surface) | COMMENT |
| LOW | vulkano/autogen-out/version.rs | 1 | // This file is auto-generated by vulkano autogen from vk.xml header version 1.3.281. | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 1 | // This file is auto-generated by vulkano autogen from vk.xml header version 1.3.281. | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 21 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_acceleration_st | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 41 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_cooperative_mat | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 61 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_deferred_host_o | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 81 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_draw_indirect_c | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 101 | ///- Requires: | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 121 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_external_memory | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 141 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 161 | pub khr_image_format_list: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 181 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_load_store_op_n | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 201 | /// - Vulkan API version 1.1 | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 221 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 241 | ///- Requires: | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 261 | pub khr_ray_tracing_position_fetch: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 281 | pub khr_separate_depth_stencil_layouts: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 301 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 321 | pub khr_shader_maximal_reconvergence: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 341 | pub khr_shader_subgroup_uniform_control_flow: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 361 | pub khr_storage_buffer_storage_class: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 381 | pub khr_timeline_semaphore: bool, | COMMENT |
| 1110 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | vulkano/src/memory/allocator/suballocator/tlsf.rs | 788 | /// 1YYYZZZ...ZZZ ────────────┐ | COMMENT |
| MEDIUM | vulkano/src/memory/allocator/suballocator/tlsf.rs | 790 | /// 1000000000 ◀───────────┘ | COMMENT |
| MEDIUM | vulkano/src/memory/allocator/suballocator/tlsf.rs | 884 | /// │^^^───────── YYY just needs to be extracted | COMMENT |
| MEDIUM | vulkano/src/memory/allocator/suballocator/tlsf.rs | 885 | /// └──────────── the index of this bit is XXXXX + MIN_NODE_BITS | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 1892 | // ┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 1896 | // │ └──────┘┌►│ │ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 1897 | // └──────────────┘ └───┘ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2026 | // ┌─────┐ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2028 | // ││ A ├┬►│ B ├─►│ C ├┬──────┐ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2030 | // │┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄│┄ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2034 | // │ └────────────────────┘│ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2035 | // └───────────────────────────┘ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1818 | // ┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1851 | // ┄┄┄┄┄││┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1946 | // └────────────────────┘ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1979 | // │┄┄┄┄┄┄│┄┄┄┄┄┄┄┄┄┄┄┄┄│┄┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1983 | // └───────────────────────────┘ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2325 | // ┄┄┄┄┄││┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2391 | // ┄┄┄┄┄│┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2458 | // │ A ├───────┬───────►│ E │ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2463 | // ┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | vulkano/src/swapchain/mod.rs | 23 | //! ## Creating a surface from a window | COMMENT |
| MEDIUM | vulkano/src/swapchain/mod.rs | 130 | //! ## Creating a swapchain | COMMENT |
| MEDIUM | vulkano/src/descriptor_set/mod.rs | 29 | //! ## Creating a descriptor set | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | vulkano/src/pipeline/layout.rs | 176 | /// - Creating a manual pipeline layout makes your code more robust against changes in the | COMMENT |
| MEDIUM | vulkano/src/pipeline/layout.rs | 223 | /// - Creating a manual pipeline layout makes your code more robust against changes in the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/triangle/main.rs | 737 | // As mentioned earlier, the pipeline depends on the subpass, which is only created once | COMMENT |