Repository Analysis

doitsujin/dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine

0.6 Likely human-written View on GitHub
0.6
Adjusted Score
0.6
Raw Score
100%
Time Factor
2026-05-30
Last Push
17,212
Stars
C++
Language
183,886
Lines of Code
543
Files
90
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 4LOW 85

Pattern Findings

90 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block85 hits · 85 pts
SeverityFileLineSnippet
LOWinclude/native/wsi/native_wsi.h1#pragma once
LOWinclude/native/windows/ole2.h1#pragma once
LOWinclude/native/windows/ocidl.h1#pragma once
LOWinclude/native/windows/windows.h1#pragma once
LOWinclude/native/windows/oaidl.h1#pragma once
LOWinclude/native/windows/rpc.h1#pragma once
LOWinclude/native/windows/objbase.h1#pragma once
LOWinclude/native/windows/windows_base.h1#pragma once
LOWinclude/native/windows/windows_base.h81#define REFGUID const GUID&
LOWinclude/native/windows/windows_base.h201 char Buffer[1];
LOWinclude/native/windows/windows_base.h241
LOWinclude/native/windows/windows_base.h261#define DXGI_STATUS_MODE_CHANGE_IN_PROGRESS ((HRESULT)0x087a0008)
LOWinclude/native/windows/windows_base.h281#define DXGI_ERROR_ACCESS_LOST ((HRESULT)0x887A0026)
LOWinclude/native/windows/windows_base.h301#ifdef __cplusplus
LOWinclude/native/windows/windows_base.h321#define __C89_NAMELESSUNIONNAME8
LOWinclude/native/windows/windows_base.h361#ifdef __cplusplus
LOWinclude/native/windows/windows_base.h401}
LOWinclude/native/windows/rpcndr.h1#pragma once
LOWinclude/openvr/openvr.hpp1#pragma once
LOWinclude/openvr/openvr.hpp1421
LOWinclude/openvr/openvr.hpp1441#if defined( _WIN32 )
LOWinclude/openvr/openvr.hpp1461#define VR_OUT_STRUCT() VR_CLANG_ATTR( "out_struct: ;" )
LOWsrc/d3d10/d3d10_include.h1#pragma once
LOWsrc/util/util_likely.h1#pragma once
LOWsrc/util/thread.h1#pragma once
LOWsrc/util/util_env.cpp1#include <array>
LOWsrc/util/util_bit.h1#pragma once
LOWsrc/util/util_bit.h21 #endif
LOWsrc/util/log/log_debug.h1#pragma once
LOWsrc/util/com/com_include.h1#pragma once
LOWsrc/d3d11/d3d11_context.h1#pragma once
LOWsrc/d3d11/d3d11_device.cpp1#include <algorithm>
LOWsrc/d3d11/d3d11_device.cpp21#include "d3d11_input_layout.h"
LOWsrc/d3d11/d3d11_options.h21 bool forceComputeLdsBarriers = false;
LOWsrc/d3d11/d3d11_options.h41
LOWsrc/d3d11/d3d11_options.h81 /// Dynamic resources with the given bind flags will be allocated
LOWsrc/d3d11/d3d11_context_state.h1#pragma once
LOWsrc/d3d11/d3d11_device_child.h141
LOWsrc/d3d11/d3d11_shader.h1#pragma once
LOWsrc/d3d11/d3d11_device.h1#pragma once
LOWsrc/dxso/dxso_compiler.h321 DxsoMaxTextureRegs> m_tRegs = { };
LOWsrc/dxso/dxso_include.h1#pragma once
LOWsrc/dxso/dxso_compiler.cpp3281
LOWsrc/dxvk/dxvk_shader_cache.h1#pragma once
LOWsrc/dxvk/dxvk_presenter.h1#pragma once
LOWsrc/dxvk/dxvk_cmdlist.h1#pragma once
LOWsrc/dxvk/dxvk_context_state.h1#pragma once
LOWsrc/dxvk/dxvk_instance.cpp1#include <version.h>
LOWsrc/dxvk/dxvk_device.h1#pragma once
LOWsrc/dxvk/dxvk_shader.h61 /// Whether the device supports 16-bit int and float
LOWsrc/dxvk/dxvk_include.h1#pragma once
LOWsrc/dxvk/dxvk_include.h21#include "../util/sync/sync_ticketlock.h"
LOWsrc/dxvk/dxvk_context.h1#pragma once
LOWsrc/dxvk/dxvk_objects.h1#pragma once
LOWsrc/spirv/spirv_include.h1#pragma once
LOWsrc/spirv/spirv_compression.cpp21 uint32_t blockOffset = 0;
LOWsrc/wsi/wsi_platform.cpp1#include "wsi_platform.h"
LOWsrc/wsi/wsi_edid.h41 //
LOWsrc/d3d9/d3d9_shader.h1#pragma once
LOWsrc/d3d9/d3d9_device.h1#pragma once
25 more matches not shown…
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMsrc/dxvk/dxvk_memory.cpp2067 // to be supported, but we need to be robust around buffer creation anyway.
MEDIUMsrc/d3d9/d3d9_options.h134 /// Don't use non seamless cube maps
MEDIUMsrc/d3d9/d3d9_swvp_emu.cpp234 // Essentially RGB10 encoding
MEDIUMsrc/dxgi/dxgi_factory.cpp89 // Be robust against situations where some monitors are not
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHsrc/dxvk/dxvk_graphics.cpp593 // Set up line rasterization mode as requested by the application.