Philip Rebohle
6c1bc35264
[dxvk] Add functionality to use secondary command buffers
2025-02-10 16:13:31 +01:00
Philip Rebohle
7d35afdc37
[dxvk] Add functionality to allocate secondary command buffer
2025-02-10 16:13:31 +01:00
Philip Rebohle
f615594f22
[dxgi] Create dummy window for composition swap chains
...
Obviously not a valid implementation, but allows composition swap chains
to exist with some basic functionality.
2025-02-10 14:23:12 +01:00
Philip Rebohle
76f9bec7cc
[dxgi] Add option to expose composition swapchains
2025-02-10 14:14:38 +01:00
WinterSnowfall
0a19e5b6db
[d3d8] Store the value of D3DRS_ZVISIBLE
2025-02-10 11:25:40 +01:00
WinterSnowfall
946419cda2
[d3d8] Fix invalid casting in GetRenderState
2025-02-10 11:25:40 +01:00
WinterSnowfall
13554f18bd
[d3d9] Update software cursor position using SetCursorPosition
2025-02-08 22:28:48 +01:00
Blisto91
54a26dde3d
[util] Disable dcSingleUseMode for Cardfight!! Vanguard Dear Days 2
2025-02-07 19:53:45 +01:00
Philip Rebohle
357484bd4b
[d3d11] Don't call Flush from swap chain code
...
Use internal function instead.
2025-02-06 23:26:05 +01:00
Philip Rebohle
9664e0b850
[dxvk] Fix potential race conditions w.r.t. swapchain destruction
...
The signaling thread can queue up a wait while the swapchain is being
destroyed, which blows up. This also fixes a related race condition
where we would queue up a wait using the wrong present mode.
This is somewhat fragile in the sense that the queue worker *must* call
signalFrame for each and every present, or this will fall apart.
2025-02-06 20:25:32 +01:00
Philip Rebohle
e5a81f8c7e
[dxvk] Don't probe buffer compatibility on image-only memory types
...
Silences a validation error.
2025-02-06 15:29:24 +01:00
Philip Rebohle
215cebc019
[dxvk] Remove superfluous function declaration
2025-02-06 14:29:19 +01:00
Philip Rebohle
a413eb0843
[dxvk] Only end render pass in invalidateImage if currently bound
...
Not really needed otherwise.
2025-02-05 22:49:25 +01:00
Philip Rebohle
0434b23167
[dxvk] Fix initializing buffers with non-dword sizes
...
Fixes #4641 . This should be very rare in general though.
2025-02-05 18:36:01 +01:00
Philip Rebohle
cf946eb981
[dxvk] Add setupapi as a Windows WSI dependency
2025-02-02 21:22:19 +01:00
Philip Rebohle
3a34dae722
[dxvk] Work around locale-dependent regex parsing crash
2025-02-02 21:21:58 +01:00
WinterSnowfall
bd69d1efdc
[d3d8/9] Use shader version macros where applicable
2025-02-02 18:17:10 +01:00
WinterSnowfall
e3f1d4c021
[d3d8] Fix up swizzle for all opcodes requiring a replicate swizzle
2025-02-02 18:17:10 +01:00
Philip Rebohle
5569274a97
[d3d9] Do not assume 16-byte alignment in replaceNaN
...
Stack alignment is 4 bytes on 32-bit, and we cannot align variables
on the stack, so this is technically broken.
2025-02-02 10:50:33 +01:00
WinterSnowfall
dd5b28e557
[d3d8] Use D3D8 compatibilty mode to set HUD API level
2025-02-02 10:47:32 +01:00
HunterCZ122
8860bde34b
[util] Fix black screen after alt-tab for Trainz
2025-01-31 22:47:37 +01:00
Blisto91
8776cf2ce6
[util] Cleanup some deviceLossOnFocusLoss configs
...
These game work fine out of the box now
missed
2025-01-30 18:22:18 +01:00
Autumn Ashton
0cad97d5ec
[util] Add scaleDref to SplinterCell2
2025-01-30 02:58:15 +00:00
Jeff
06bdc88eb6
[d3d8] Restore config for Splinter Cell
2025-01-30 01:59:22 +00:00
WinterSnowfall
1d90772eb2
[d3d9] Report vertex texture filtering support only for SM3
2025-01-27 18:53:10 +01:00
VPInventions
3d35925a05
Assign viewInfo.minLayer for D3D11VideoProcessorInputView
2025-01-27 18:48:46 +01:00
WinterSnowfall
5b21286377
[d3d9] Adjust SM2 VS/PS caps
2025-01-26 21:52:18 +01:00
WinterSnowfall
ad0920fe1e
[d3d9] Relax SM2 minor version checks on shader creation
2025-01-26 20:02:45 +01:00
WinterSnowfall
c6dc7e0939
[d3d8/9] Proper (and age accurate) handling of d3d9.shaderModel = 0
2025-01-26 13:56:27 +01:00
WinterSnowfall
48d24893d4
[d3d8] Clean up and document D3D8-specific caps
2025-01-26 13:50:41 +01:00
WinterSnowfall
753c11d144
[d3d8] Implement SCRATCH pool copies with CopyRects
2025-01-26 13:50:41 +01:00
WinterSnowfall
7482e45534
[d3d8] Remove several empty explicit destructors
2025-01-26 13:50:41 +01:00
WinterSnowfall
e757170211
[d3d8] Remove superfluous methods from D3D8Surface
2025-01-26 13:50:41 +01:00
WinterSnowfall
e2a078d534
[d3d8] Properly return the value of D3DRS_SOFTWAREVERTEXPROCESSING
2025-01-26 13:50:41 +01:00
WinterSnowfall
d846e89a4b
[d3d8] Improve handling of FullScreen_PresentationInterval
2025-01-26 13:50:41 +01:00
WinterSnowfall
e40f03b96a
[d3d8] General TODO and comment cleanup
2025-01-26 13:50:41 +01:00
WinterSnowfall
088915e24c
[d3d8] Don't forward D3DRS_ZVISIBLE changes to d3d9
2025-01-26 13:50:41 +01:00
WinterSnowfall
470764e24c
[d3d8] Don't forward D3DRS_PATCHSEGMENTS changes to d3d9
2025-01-26 13:50:41 +01:00
WinterSnowfall
0983ab1f39
[d3d8] Don't forward D3DRS_LINEPATTERN changes to d3d9
2025-01-26 13:50:41 +01:00
WinterSnowfall
20b047600f
[d3d8] Disable z-buffer discarding for depth stencil surfaces
2025-01-26 13:50:41 +01:00
WinterSnowfall
b61ea1db76
[d3d8] Address the MultiSampleQuality usage
2025-01-26 13:50:41 +01:00
WinterSnowfall
4184452f49
[d3d8] Validate srcRect/destPoint dimensions in UpdateTextureFromBuffer
2025-01-26 13:50:41 +01:00
Philip Rebohle
736ee20eb5
[d3d11] Implement ID3DLowLatencyDevice
2025-01-25 18:02:20 +01:00
Philip Rebohle
4f9b106d40
[d3d11] Stub out ID3DLowLatencyDevice for D3D11
2025-01-25 18:02:20 +01:00
Philip Rebohle
86c317fbbc
[d3d11] Add ID3DLowLatencyDevice definitions
2025-01-25 18:02:20 +01:00
Philip Rebohle
59e53c1863
[d3d11] Add queue parameter to CS chunk injection
2025-01-25 18:02:20 +01:00
Philip Rebohle
539da5abdf
[dxvk] Refactor CS chunk queues
...
Introduces two queues and allows us to dispatch chunks to the ordered
queue without disrupting the sequence number.
2025-01-25 18:02:20 +01:00
Philip Rebohle
0e9efa5183
[dxvk] Implement Reflex latency tracker
2025-01-25 18:02:20 +01:00
Philip Rebohle
4b009237d7
[dxvk] Add NV_low_latency2 path to latency tracker
2025-01-25 18:02:20 +01:00
Philip Rebohle
66dc0a9383
[dxvk] Pass present IDs to command submissions as necessary
2025-01-25 18:02:20 +01:00