Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test PR #169

Closed
wants to merge 274 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
fb46a17
[d3d8] Shim Set*ShaderConstant
AlpyneDreams Sep 7, 2020
96f9707
[d3d8] Shim patch methods (not yet impl in d9vk)
AlpyneDreams Sep 7, 2020
d8a868e
[d3d8] Shim ValidateDevice
AlpyneDreams Sep 7, 2020
a562aca
[d3d8] Shim CreateImageSurface -> CreateOffscreenPlainSurface
AlpyneDreams Sep 7, 2020
5f5e55a
[d3d8] Clean up commented out d9vk stuff
AlpyneDreams Sep 7, 2020
9d9c9bb
[d3d8] Implement BaseVertexIndex
AlpyneDreams Sep 7, 2020
a1dd4d5
[d3d8] Implement D3DENUM_NO_WHQL_LEVEL
AlpyneDreams Sep 7, 2020
6ef2424
[d3d8] Shim ResourceManagerDiscardBytes -> EvictManagedResources
AlpyneDreams Sep 7, 2020
6a58266
[d3d8] Re-add unused D3D8DeviceEx members
AlpyneDreams Sep 7, 2020
fddb976
[d3d8] Explicitly avert macro redefinitions
AlpyneDreams Sep 7, 2020
73f571d
[meta] Update README.md
AlpyneDreams Sep 7, 2020
73e3f14
[meta] Add myself to the LICENSE
AlpyneDreams Sep 7, 2020
7d45fb6
[d3d8 Rebase] MSVC build fixes
AlpyneDreams Jul 24, 2021
1abbbb5
[d3d8] Basic vertex shader setup
AlpyneDreams Sep 24, 2020
5565931
[d3d8] Fully implement vertex shaders
AlpyneDreams Sep 26, 2020
4ac97a3
[d3d8] Hook up pixel shaders
AlpyneDreams Sep 26, 2020
a0d39ec
[d3d8] Implement shader getters and caching
AlpyneDreams Sep 28, 2020
7f5780f
[d3d8] Add Get/SetViewport
AlpyneDreams Sep 28, 2020
ee890d3
[d3d8] Add CreateStateBlock
AlpyneDreams Sep 28, 2020
2f74b46
[d3d8] Add Get/SetClipStatus
AlpyneDreams Sep 28, 2020
66aa254
[d3d8] Cache indices
AlpyneDreams Sep 29, 2020
5661c4a
[d3d8] Cache backbuffer
AlpyneDreams Sep 29, 2020
726b30e
[d3d8] Implement d8vk state blocks
AlpyneDreams Sep 29, 2020
9e46763
[d3d8] Record SetIndices
AlpyneDreams Sep 29, 2020
5d64aa5
[d3d8] Cache and record SetTexture
AlpyneDreams Sep 29, 2020
754e1d7
[d3d8] Tidy up state blocks
AlpyneDreams Sep 30, 2020
0de6ad2
[d3d8] Add Set/GetGammaRamp
AlpyneDreams Sep 30, 2020
bfda5e4
[d3d8] Shim palette methods. (Not impl by d8vk)
AlpyneDreams Sep 30, 2020
9b400f0
[d3d8] Fix broken logic operators
AlpyneDreams Sep 30, 2020
d626032
[d3d8] Fix state block initialization
AlpyneDreams Oct 2, 2020
0942a4c
[d3d8] Purge buffer cache on Reset()
AlpyneDreams Oct 2, 2020
34b300c
[d3d8] Cache render target, depth stencil
AlpyneDreams Oct 3, 2020
5a7aaab
[d3d8] Basic CopyRects cases
AlpyneDreams Oct 18, 2020
4d888b8
[d3d8] Separate vertex and pixel shaders, fix caching
AlpyneDreams Oct 18, 2020
c317942
[d3d8] Correctly track SetTexture state
AlpyneDreams Jul 24, 2021
591b4f4
[d3d8] Add D3D9 bridge
AlpyneDreams Oct 9, 2022
280ced5
[d3d8] Add UUID for D3D9Bridge
AlpyneDreams Sep 12, 2021
14858ac
[d3d8] Fix GetAdapterModeCount using signed int
AlpyneDreams Sep 12, 2021
b37eb5a
[d3d8] USe 'this->GetD3D9()' in generic types
AlpyneDreams Sep 12, 2021
4c31007
[d3d8] Fix casting pointers to DWORD
AlpyneDreams Sep 12, 2021
1fd37e5
[d3d8] Stop d3d9types.h defining redundant rect/matrix
AlpyneDreams Sep 12, 2021
41054ed
[d3d8] Fix UUID decls on MinGW
AlpyneDreams Sep 12, 2021
3c17340
[d3d8] Link lib_d3d9 directly rather than statically
AlpyneDreams Sep 16, 2021
07d4c98
[d3d8] Fix D3D9Bridge interface and init order
AlpyneDreams Sep 16, 2021
571d13f
[d3d8] Specify d3d9::D3DPOOL
AlpyneDreams Sep 18, 2021
9c4aaff
[d3d8] Fix dodgy bit flag check
AlpyneDreams Sep 18, 2021
0633563
[d3d8] Zero-initialize D3D8StateCapture properly
AlpyneDreams Sep 18, 2021
9adfd9a
[d3d8] Remove unused stubs
AlpyneDreams Sep 18, 2021
105830b
[d3d8] Rebase fixes
AlpyneDreams May 11, 2022
10783b0
[d3d8] Add GetD3D9Nullable
AlpyneDreams Oct 9, 2022
573549e
[d3d8] Fix nullable SetIndices and SetStreamSource
AlpyneDreams May 13, 2022
bc0198f
[d3d8] Fix texture V clamping
AlpyneDreams May 14, 2022
445c349
[d3d8] Add D3D9InterfaceBridge
AlpyneDreams May 14, 2022
01f05e8
[d3d8] Add D3D8Options
AlpyneDreams May 14, 2022
19b8930
[d3d8] Bail if CreateDevice fails
AlpyneDreams May 15, 2022
d5593e4
[d3d8] Add forceD16 hack
AlpyneDreams May 15, 2022
861e954
[d3d8] Disallow null CopyRects
AlpyneDreams Oct 9, 2022
9ef186d
[d3d8] Add SetCursorProperties
AlpyneDreams May 19, 2022
8dc0a73
[d3d8] Fix deleted shaders not being cleared
AlpyneDreams May 19, 2022
00f055d
[d3d8] Fix GCC complaining about typename
AlpyneDreams Oct 6, 2022
40ec8d5
[d3d8] Add package-debug.sh
AlpyneDreams Oct 6, 2022
125cb1f
[d3d8] replaceNaN: Use unaligned SIMD _mm_loadu_ps
AlpyneDreams Oct 9, 2022
c6be351
[d3d8] Rebase: remove deleted header
AlpyneDreams Oct 9, 2022
d6eb31c
[d3d8] Distinguish D3D9 bridge vs. interop
AlpyneDreams Oct 9, 2022
65461a9
[util] replaceNaN: Always load unaligned
AlpyneDreams Oct 9, 2022
d04f1a9
[d3d8] CreateVertexShader: Allow NULL pFunction
AlpyneDreams Oct 20, 2022
f246521
[d3d8] Fix undefined behavior with this == NULL
AlpyneDreams Oct 20, 2022
10ec1c8
[d3d8] Support additional swap chains
AlpyneDreams Oct 20, 2022
34b3614
[d3d8] Add custom build/setup scripts
AlpyneDreams Oct 20, 2022
701fc65
[d3d8] Update README.md
AlpyneDreams Oct 20, 2022
825bb46
[d3d8] Add better error for incompatible d3d9.dll
AlpyneDreams Oct 20, 2022
f96c0c3
[d3d8] Report PS/VS version 1.4
AlpyneDreams Oct 21, 2022
bbacde5
[d3d8] Support GetStreamSource
AlpyneDreams Oct 21, 2022
154529d
[d3d8] CopyRects: fix rect going out of scope
AlpyneDreams Oct 22, 2022
24c4c55
[d3d8] CopyRects: accept unbound RTs
AlpyneDreams Oct 22, 2022
00c94b6
[d3d8] Implement basic IDirect3DVolumeTexture8
AlpyneDreams Oct 22, 2022
a57ff64
[build] Use build_d3d8.sh and update actions
Blisto91 Oct 20, 2022
4849542
[d3d8] [build] Fix --no-proton
AlpyneDreams Oct 22, 2022
280531c
[d3d8] Add D3D8Volume() constructor
AlpyneDreams Oct 22, 2022
f7ddbaa
[d3d8] Support D3DVSD_SKIP
AlpyneDreams Oct 22, 2022
742f89c
[d3d8] Better debug info for CreateVertexShader
AlpyneDreams Oct 22, 2022
a44b912
[d3d8] Support D3DVSD_TOKEN_CONSTMEM
AlpyneDreams Oct 22, 2022
c720aa4
[d3d8] Make vs rsq use src0.wwww
AlpyneDreams Oct 22, 2022
7cae724
[d3d8] Separate vertex shader code
AlpyneDreams Oct 22, 2022
e73ef46
[d3d8] Update CopyRects to handle more cases
AlpyneDreams Oct 24, 2022
6e7a5bb
[d3d8] Store present params in device
AlpyneDreams Oct 24, 2022
b638fbb
[d3d8] Fix multiple backbuffers
AlpyneDreams Oct 24, 2022
8819630
[d3d8] CreateImageSurface - use POOL_DEFAULT
AlpyneDreams Oct 24, 2022
4602218
[d3d8] Implement UpdateTexture
AlpyneDreams Oct 24, 2022
110fcdc
[d3d8] Add Get*ShaderContstant
AlpyneDreams Oct 24, 2022
052dcf9
[d3d8] Store shader functions and declarations
AlpyneDreams Oct 24, 2022
3faabf9
[d3d8] Add GetFrontBuffer
AlpyneDreams Oct 24, 2022
9ef8869
[d3d8] Implement barebones GetInfo
AlpyneDreams Oct 24, 2022
0db0612
[d3d8] Implement ProcessVertices
AlpyneDreams Oct 24, 2022
943dece
[d3d8] No more stubs! 🎉
AlpyneDreams Oct 24, 2022
4875f73
[d3d8] Fix bad jump in CopyRects
AlpyneDreams Oct 25, 2022
cb18b3a
[util] set enableDialogMode for Indiana Jones Emperor's Tomb
Blisto91 Oct 25, 2022
0585064
[d3d8] chmod +x setup_d3d8.sh
AlpyneDreams Oct 28, 2022
37f9a55
[d3d8] Fix native build
AlpyneDreams Nov 4, 2022
decff31
[d3d8] Clean up vertex shader code
AlpyneDreams Nov 4, 2022
e03b17b
[d3d8] Implement stretching to systemmem
AlpyneDreams Nov 4, 2022
01895c1
[d3d8] CopyRects: Add GetRenderTargetData fast path
AlpyneDreams Nov 5, 2022
a651c55
[d3d8] VS: Declare correct usage indices
AlpyneDreams Nov 5, 2022
eff6baa
[d3d8] RSQ: Only replace .xyzw with .wwww
AlpyneDreams Nov 5, 2022
5a80ebd
[d3d8] Fix SetRenderTarget
AlpyneDreams Nov 6, 2022
faff2d7
[d3d8] Cleanup texture and surface
AlpyneDreams Nov 6, 2022
1652611
[d3d8] Cache texture subresources
AlpyneDreams Nov 6, 2022
20c071e
[d3d8] Make texture methods final
AlpyneDreams Nov 6, 2022
f0dc512
[d3d8] Properly free subresources
AlpyneDreams Nov 7, 2022
2d88f97
[d3d8] Implicitly ref subresources
AlpyneDreams Nov 7, 2022
67629ab
[d3d8] HUD: show build timestamp when there are untracked changes
AlpyneDreams Nov 10, 2022
b6cd4cf
[d3d8] Cache temporary blit buffers
AlpyneDreams Nov 10, 2022
bdcb2b8
[d3d8] Mark dest textures dirty, lock device
AlpyneDreams Nov 10, 2022
9643646
[d3d8] CopyRects: Use LockRect for system mem & managed
AlpyneDreams Nov 10, 2022
9e253ad
[d3d8] CopyRects: Fail on managed->managed case
AlpyneDreams Nov 10, 2022
4bd9ce5
[d3d8] Fix cubemap mips
AlpyneDreams Nov 11, 2022
aae4965
[d3d8] Use FVF reserved bit for shader handles
AlpyneDreams Nov 11, 2022
31c149b
[d3d8] Surface desc size as bytes not bits
AlpyneDreams Nov 11, 2022
8a77ef7
[build] Ensure setup_d3d8.sh works with spaces in basedir
AlpyneDreams Nov 11, 2022
f24413e
[d3d8] Install to Proton lib64
AlpyneDreams Nov 12, 2022
0dbc876
[d3d9] Fix std::hex in D3D9CommonTexture
AlpyneDreams Nov 18, 2022
5b02cf1
[d3d8] Fix CopyRects with offset in system mem
AlpyneDreams Nov 18, 2022
51267ed
[d3d8] Clamp blocks per row to 1
AlpyneDreams Nov 18, 2022
f818037
[d3d8] Hold on to render targets
AlpyneDreams Nov 18, 2022
7317109
[d3d8] Add D3D8Subresource
AlpyneDreams Nov 18, 2022
1705423
[d3d8] QueryInterface: Return errors when not implemented
AlpyneDreams Nov 19, 2022
ba61420
[d3d8] Implement QueryInterface
AlpyneDreams Nov 19, 2022
ec9a16c
[d3d8] CopyRects: Implement non-linear memcpy
AlpyneDreams Nov 19, 2022
68f0fd8
[d3d8] Don't hold on to render targets
AlpyneDreams Nov 19, 2022
52fc388
[d3d8] Move CopyRects into d3d8_blit.cpp
AlpyneDreams Nov 19, 2022
98bb9b7
[d3d8] Implement D3DRS_ZBIAS
AlpyneDreams Nov 24, 2022
586bfbc
[d3d8] Remove forceD16 hack
AlpyneDreams Nov 24, 2022
5c6cf9b
[d3d8] Recognize more render states
AlpyneDreams Nov 24, 2022
878f292
[d3d8] Record SWVP in state blocks
AlpyneDreams Nov 24, 2022
4569603
[d3d8] Disallow cross-format blits in ram
AlpyneDreams Nov 27, 2022
ab1c1ae
[d3d8] Implement NVIDIA shadow buffers
AlpyneDreams Nov 30, 2022
bc4e37e
[d3d9] Don't check Dref scaling unless enabled
AlpyneDreams Dec 1, 2022
d1fadf4
[d3d8] Add hardware shadow buffer filtering
AlpyneDreams Dec 1, 2022
03ff0bb
[d3d8] Implement full DXT CopyRect
AlpyneDreams Dec 6, 2022
e93c975
[Setup] Allow preserving current Proton installation
Sid127 Nov 12, 2022
171d6ef
[setup] Fix compatibilitytool.vdf
AlpyneDreams Jan 3, 2023
b1c44a8
[d3d8] CreateTexture: bail on fail
AlpyneDreams Jan 3, 2023
a006bd9
[d3d8] Ref backbuffers on creation
AlpyneDreams Jan 3, 2023
e716be5
[d3d8] ResetState: textures, streams, indices
AlpyneDreams Jan 3, 2023
1097452
[d3d8] Fixes for MSVC compiling
AlpyneDreams Jan 19, 2023
7e70f68
[build] GitHub: get D3D8 headers for MSVC
AlpyneDreams Jan 19, 2023
2451474
[d3d8] Tentatively move Direct3DCreate8 to @5
AlpyneDreams Feb 1, 2023
2059654
Use at least one BackBuffer in D3D8DeviceEx
WinterSnowfall Jan 23, 2023
2d9de56
Add memoryTrackTest & memory limit workarounds for Anito: Defend a La…
WinterSnowfall Jan 26, 2023
ebcb155
[d3d8] Misc formatting tweaks
AlpyneDreams Feb 23, 2023
b0bd03f
[misc] Only request d3d8 & d3d9 logs in the issue template
WinterSnowfall Feb 17, 2023
7c39a85
[util] Disable direct buffer mapping for Red Faction
WinterSnowfall Feb 1, 2023
675d6dd
[d3d8] Fix backbuffers never being cached
AlpyneDreams Feb 23, 2023
567b033
[d3d8] Ref rendertargets and depth stencils
AlpyneDreams Feb 23, 2023
247f24f
[d3d8] Fix CreateStateBlock types
AlpyneDreams Feb 23, 2023
e7a5286
[d3d8] BeginStateBlock use type 0
AlpyneDreams Feb 23, 2023
c2bf2cc
[d3d8] Fix null pixel shaders not being rememered
AlpyneDreams Feb 23, 2023
f7fd31e
[d3d8] Cast null pixel shader to DWORD
AlpyneDreams Feb 24, 2023
77028db
[d3d8] Hold on to rendertargets again
AlpyneDreams Feb 24, 2023
a0c3e5f
[d3d8] Return D3D_OK if can't change SWVP
AlpyneDreams Feb 24, 2023
0c1a59b
[d3d8] Properly cache depth stencil buffer
AlpyneDreams Feb 24, 2023
5a019c7
[meta] Do not re-add current year in LICENSE
pchome Feb 23, 2023
43f9208
[d3d8] Set/GetTexture: ref textures
AlpyneDreams Feb 24, 2023
2b688d1
[d3d8] Cleanup d3d8_main.cpp
AlpyneDreams Feb 26, 2023
9309c1f
[util] Allow switching log file at runtime
AlpyneDreams Feb 26, 2023
b3fb153
[d3d8] Link d3d9 statically
AlpyneDreams Feb 26, 2023
553e96f
[util] Fix logger initialization order issues
AlpyneDreams Mar 4, 2023
f974535
[d3d8] EndScene on Reset
AlpyneDreams Mar 4, 2023
3d41980
[misc] Update issue template
AlpyneDreams Mar 4, 2023
70d205b
[build] Always build d3d9 if d3d8 is enabled
AlpyneDreams Mar 4, 2023
47f52c0
[misc] Actions: Only build d3d8 on MSVC
AlpyneDreams Mar 4, 2023
8ddf18f
[d3d8] Implement surface desc size
AlpyneDreams Mar 4, 2023
bcad6a4
[d3d8] Make m_depthStencil ref private
AlpyneDreams Mar 5, 2023
2c56a1a
[build] Fix MSVC build with VS backend
AlpyneDreams Mar 5, 2023
79f7196
[util] Enable apitraceMode for Motor City Online
WinterSnowfall Mar 26, 2023
22af9a0
[d3d8] Uncomment forwarding calls to SetCursorPosition
WinterSnowfall Mar 29, 2023
9b84dbe
[d3d8] Remove comments about cursor coords
AlpyneDreams Apr 15, 2023
04b4960
[util] Disable direct buffer mapping for Commandos 3 (#133)
WinterSnowfall Apr 15, 2023
9774d48
[d3d8] Disable D3DLOCK_NOOVERWRITE
AlpyneDreams Apr 15, 2023
44707ee
[d3d8] Ignore Release calls on objects with 0 refCount
WinterSnowfall Apr 15, 2023
d00eb56
[d3d8] Adjust state block texture refcounts
WinterSnowfall Apr 15, 2023
8db47e7
[d3d8] Adjust texture and subresource refcounts
WinterSnowfall Apr 15, 2023
73246dc
[d3d8] Adjust DS and RT refcounts
WinterSnowfall Apr 15, 2023
f3d6fd0
[d3d8] Adjust VB, IB & backbuffer refcounts
WinterSnowfall Apr 15, 2023
abbd257
Revert "[d3d8] Disable D3DLOCK_NOOVERWRITE"
AlpyneDreams Apr 15, 2023
fdb1d21
[d3d8] DrawIndexedPrimitiveUP null stream 0 and indices
AlpyneDreams Apr 16, 2023
3b029ec
[d3d8] Store DEFAULT v/ibuffers in MANAGED
AlpyneDreams Apr 16, 2023
117bf42
[d3d8] Fix index buffers not being MANAGED
AlpyneDreams Apr 16, 2023
8b94f0a
[d3d8] Validate BackBufferCount in ResetState
AlpyneDreams Apr 19, 2023
2d51567
[d3d8] Remove redundant usage checks
AlpyneDreams Apr 19, 2023
08e183f
[d3d8] Ref rendertargets and depth stencils
AlpyneDreams Apr 19, 2023
63e103b
[d3d8] Revert extra RT/DS refs for now
AlpyneDreams Apr 20, 2023
ad2568c
[d3d8] Ref/release RT/DS only when changed
AlpyneDreams Apr 20, 2023
336c2b1
[d3d8] Keep ref to backbuffers and autodepthstencil
AlpyneDreams Apr 20, 2023
78a7b67
[d3d8] Get implicit surfaces directly from D3D9
AlpyneDreams Apr 20, 2023
6e74f24
[d3d8] Reset d3d9 before ResetState
AlpyneDreams Apr 20, 2023
7972cbc
[d3d8] Ref indices in GetIndices
AlpyneDreams Apr 20, 2023
0f314ec
[d3d8] Call ForceEndScene before Reset
AlpyneDreams Apr 20, 2023
af053be
[util] Remove superfluous allowDirectBufferMapping workarounds
WinterSnowfall Apr 17, 2023
c815aa8
[util] Add a buffer placement workaround for MCO
WinterSnowfall Apr 17, 2023
0387038
[util] Add a buffer placement workaround for Brigade E5
WinterSnowfall Apr 20, 2023
f6316a7
[util] Add a buffer placement workaround for Railroad Tycoon 3
WinterSnowfall Apr 20, 2023
23f6aca
[d3d8] Add managedBufferPlacement to dxvk.conf
AlpyneDreams Apr 22, 2023
6a1d884
[d3d8] Allow setting minimum size for managedBufferPlacement
AlpyneDreams Apr 22, 2023
cd5b89b
[d3d8] Set managedBufferPlacement for Supreme Ruler 2020
AlpyneDreams Apr 22, 2023
44e522f
[d3d8] Fix bool values for managedBufferPlacement
AlpyneDreams Apr 22, 2023
b2b89ee
[d3d9] Initialize m_mapFlags to 0
AlpyneDreams Apr 22, 2023
ed3a395
[d3d8] Validate depth stencil formats
WinterSnowfall Mar 26, 2023
7cf26e0
[d3d8] Add forceVsDecl config option
AlpyneDreams Apr 26, 2023
6da430e
[d3d8] Set forceVsDecl for Pinball 2
AlpyneDreams Apr 26, 2023
99a88fa
[d3d8] Fix missing enums on native
AlpyneDreams Apr 26, 2023
6fc165d
[d3d8] Clean up shader code
AlpyneDreams Apr 26, 2023
f563a64
[util] Add workarounds for SR2010 and Zwei: The Ilvard Insurrection
WinterSnowfall Apr 26, 2023
4a7c627
[dxso] Implement bem instruction
AlpyneDreams Apr 28, 2023
99f1d89
[build] Fix libdisplay-info
AlpyneDreams May 6, 2023
5d27704
[d3d8] Cleanup comments and whitespace
AlpyneDreams May 6, 2023
1b600cc
[d3d8] Cleanup d3d8_device
AlpyneDreams May 6, 2023
f11c192
[d3d8] Cleanup d3d8_shader
AlpyneDreams May 6, 2023
237d973
[d3d8] Cleanup d3d8_interface
AlpyneDreams May 6, 2023
9fff0ed
[d3d8] Cleanup d3d8_blit
AlpyneDreams May 6, 2023
898f5a3
[d3d8] Destroy state blocks on exit
AlpyneDreams May 6, 2023
a007705
[d3d8] Fix extern/static issue on GCC
AlpyneDreams May 8, 2023
bc288b0
[d3d9] Fix crash if device is freed with bound textures
AlpyneDreams May 8, 2023
bd394b8
[d3d8] Fix extra refs to bridges and textures
AlpyneDreams May 8, 2023
7d85a18
[d3d8] Mark state changes
AlpyneDreams Apr 20, 2023
505b398
[d3d8] Mark before D3D8-handled state changes
AlpyneDreams Apr 20, 2023
cb5af3e
[d3d8] Avoid more state changes
AlpyneDreams Apr 21, 2023
9a66dbd
[dxvk] Add batch counts to HUD for debugging
AlpyneDreams Apr 21, 2023
347186d
[d3d8] Add basic D3D8Batcher
AlpyneDreams Apr 21, 2023
7a32e00
[d3d8] Fix SetVertexShader not returning a value
AlpyneDreams Apr 21, 2023
b7a29dc
[d3d8] Basic index buffer batching
AlpyneDreams Apr 21, 2023
3c88d38
[d3d8] Join tristrips with degenerate triangles
AlpyneDreams Apr 21, 2023
2a35304
[d3d8] Batcher: handle SetIndices
AlpyneDreams Apr 22, 2023
af9cd8d
[d3d8] Batcher GCC fixes
AlpyneDreams May 9, 2023
ce07616
[d3d8] Batcher code cleanup
AlpyneDreams May 9, 2023
3a494e1
[d3d8] Make batcher optional
AlpyneDreams May 9, 2023
6d30b9b
[util] Add workarounds for NFS 3 and 4
WinterSnowfall May 4, 2023
f06f202
[d3d8] Use batcher for NSF 3 and 4
AlpyneDreams May 9, 2023
5242356
[d3d8] Fix CI builds
AlpyneDreams May 9, 2023
10cbd55
[d3d8] Fix steamrt builds
AlpyneDreams May 9, 2023
6e6c324
[d3d8] Fix D3D8BatchBuffer::GetDesc
AlpyneDreams May 10, 2023
3d29276
[util] Config for IGI 2: Covert Strike
AlpyneDreams May 10, 2023
e1df54c
Update README.md
AlpyneDreams May 10, 2023
0244c10
[d3d8] Fixes for Treasure Planet: Battle at Procyon
AlpyneDreams May 18, 2023
917bf41
[d3d8] Move d3d8 game configs to d3d8 section
AlpyneDreams Jun 19, 2023
386d0a4
[dxso] Shared code for texbem and bem
AlpyneDreams Jun 19, 2023
c6ba9e1
Revert "[d3d8] Link d3d9 statically"
AlpyneDreams Jun 19, 2023
50d232d
Revert "[util] Allow switching log file at runtime"
AlpyneDreams Jun 19, 2023
0a46abf
Revert "[build] Always build d3d9 if d3d8 is enabled"
AlpyneDreams Mar 4, 2023
b3d2382
[d3d8] Add IUnknown to d3d9 bridge
AlpyneDreams Jun 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[d3d8] Implement D3DENUM_NO_WHQL_LEVEL
Same bit as D3DENUM_WHQL_LEVEL but has the opposite effect.
  • Loading branch information
AlpyneDreams committed Feb 23, 2023
commit a1dd4d541c076ca25adfbfd6fe9889fabb9d3b34
9 changes: 8 additions & 1 deletion src/d3d8/d3d8_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ namespace dxvk
UINT Adapter,
DWORD Flags,
D3DADAPTER_IDENTIFIER8* pIdentifier) {


// This flag now has the opposite effect.
// Either way, WHQLevel will be 1 with Direct3D9Ex
if (Flags & D3DENUM_NO_WHQL_LEVEL)
Flags &= ~D3DENUM_WHQL_LEVEL;
else
Flags |= D3DENUM_WHQL_LEVEL;

d3d9::D3DADAPTER_IDENTIFIER9 identifier9;
HRESULT res = m_d3d9ex->GetAdapterIdentifier(Adapter, Flags, &identifier9);

Expand Down