Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
This report summarizes scanner evidence for doitsujin/dxvk, a C++ project with 18,399 GitHub stars. SynthScan examined 177,916 lines of code across 513 source files, recording 88 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.6 (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? 88 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 88 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 88 distinct pattern matches across 4 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 | include/native/wsi/native_wsi.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/ole2.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/ocidl.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/windows.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/oaidl.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/rpc.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/objbase.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/windows_base.h | 1 | #pragma once | COMMENT |
| LOW | include/native/windows/windows_base.h | 81 | #define REFGUID const GUID& | COMMENT |
| LOW | include/native/windows/windows_base.h | 201 | char Buffer[1]; | COMMENT |
| LOW | include/native/windows/windows_base.h | 241 | COMMENT | |
| LOW | include/native/windows/windows_base.h | 261 | #define DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE ((HRESULT)0x087a0006) | COMMENT |
| LOW | include/native/windows/windows_base.h | 281 | #define DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED ((HRESULT)0x887A0023) | COMMENT |
| LOW | include/native/windows/windows_base.h | 301 | ((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) ) | COMMENT |
| LOW | include/native/windows/windows_base.h | 321 | #define __C89_NAMELESSUNIONNAME6 | COMMENT |
| LOW | include/native/windows/windows_base.h | 361 | #define END_INTERFACE | COMMENT |
| LOW | include/native/windows/rpcndr.h | 1 | #pragma once | COMMENT |
| LOW | include/openvr/openvr.hpp | 1 | #pragma once | COMMENT |
| LOW | include/openvr/openvr.hpp | 1421 | COMMENT | |
| LOW | include/openvr/openvr.hpp | 1441 | #if defined( _WIN32 ) | COMMENT |
| LOW | include/openvr/openvr.hpp | 1461 | #define VR_OUT_STRUCT() VR_CLANG_ATTR( "out_struct: ;" ) | COMMENT |
| LOW | src/d3d10/d3d10_include.h | 1 | #pragma once | COMMENT |
| LOW | src/util/util_hotpatch.h | 1 | #pragma once | COMMENT |
| LOW | src/util/util_likely.h | 1 | #pragma once | COMMENT |
| LOW | src/util/thread.h | 1 | #pragma once | COMMENT |
| LOW | src/util/util_env.cpp | 1 | #include <array> | COMMENT |
| LOW | src/util/util_bit.h | 1 | #pragma once | COMMENT |
| LOW | src/util/util_bit.h | 21 | #endif | COMMENT |
| LOW | src/util/config/config.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | src/util/log/log_debug.h | 1 | #pragma once | COMMENT |
| LOW | src/util/com/com_include.h | 1 | #pragma once | COMMENT |
| LOW | src/d3d11/d3d11_context.h | 1 | #pragma once | COMMENT |
| LOW | src/d3d11/d3d11_device.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | src/d3d11/d3d11_device.cpp | 21 | #include "d3d11_input_layout.h" | COMMENT |
| LOW | src/d3d11/d3d11_options.h | 21 | bool forceComputeLdsBarriers = false; | COMMENT |
| LOW | src/d3d11/d3d11_options.h | 41 | COMMENT | |
| LOW | src/d3d11/d3d11_options.h | 81 | /// Dynamic resources with the given bind flags will be allocated | COMMENT |
| LOW | src/d3d11/d3d11_context_state.h | 1 | #pragma once | COMMENT |
| LOW | src/d3d11/d3d11_device_child.h | 141 | COMMENT | |
| LOW | src/d3d11/d3d11_shader.h | 1 | #pragma once | COMMENT |
| LOW | src/d3d11/d3d11_device.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_shader_cache.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_presenter.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_cmdlist.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_context_state.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_instance.cpp | 1 | #include <version.h> | COMMENT |
| LOW | src/dxvk/dxvk_device.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_shader.h | 21 | * \brief Shader compile flags | COMMENT |
| LOW | src/dxvk/dxvk_shader.h | 41 | Supports16BitArithmetic = 5u, | COMMENT |
| LOW | src/dxvk/dxvk_include.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_include.h | 21 | #include "../util/sync/sync_ticketlock.h" | COMMENT |
| LOW | src/dxvk/dxvk_context.h | 1 | #pragma once | COMMENT |
| LOW | src/dxvk/dxvk_objects.h | 1 | #pragma once | COMMENT |
| LOW | src/spirv/spirv_include.h | 1 | #pragma once | COMMENT |
| LOW | src/wsi/wsi_platform.cpp | 1 | #include "wsi_platform.h" | COMMENT |
| LOW | src/wsi/wsi_edid.h | 41 | // | COMMENT |
| LOW | src/d3d9/d3d9_shader.h | 1 | #pragma once | COMMENT |
| LOW | src/d3d9/d3d9_device.h | 1 | #pragma once | COMMENT |
| LOW | src/d3d9/d3d9_device.h | 21 | COMMENT | |
| LOW | src/d3d9/d3d9_swapchain.cpp | 241 | } | COMMENT |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/dxvk/dxvk_memory.cpp | 2115 | // to be supported, but we need to be robust around buffer creation anyway. | COMMENT |
| MEDIUM | src/d3d9/d3d9_options.h | 142 | /// Don't use non seamless cube maps | COMMENT |
| MEDIUM | src/d3d9/d3d9_swvp_emu.cpp | 232 | // Essentially RGB10 encoding | COMMENT |
| MEDIUM | src/dxgi/dxgi_factory.cpp | 90 | // Be robust against situations where some monitors are not | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/dxvk/dxvk_graphics.cpp | 613 | // Set up line rasterization mode as requested by the application. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/wsi/glfw/wsi_window_glfw.cpp | 129 | // TODO: implement this with glfwGetWindowMonitor | COMMENT |