Philip Rebohle
|
6540ab4f3e
|
[dxvk] Use DxvkPagedResource for CPU synchronization
|
2024-10-18 12:42:33 +02:00 |
|
Philip Rebohle
|
d72346f2cb
|
[dxvk] Rename various storage-related functions
|
2024-10-18 12:42:33 +02:00 |
|
Philip Rebohle
|
500c86c054
|
[d3d9] Replace staging buffer marker with monotonic fence
Brings this in line with D3D11.
|
2024-10-16 20:57:50 +02:00 |
|
Robin Kertels
|
763b82b1e4
|
[d3d9] Fix render target null pointer deref
|
2024-10-15 19:29:20 +02:00 |
|
Robin Kertels
|
f65897be4c
|
[d3d9] Remove a few unnecessary bitmasks
|
2024-10-13 17:13:31 +02:00 |
|
Robin Kertels
|
421ead5b30
|
[d3d9] Only dirty frame buffer on render state changes if render area is impacted
|
2024-10-13 17:13:31 +02:00 |
|
Blisto91
|
05d089bee5
|
[d3d9] Silence unhandled render state D3DRS_ADAPTIVETESS_Y
|
2024-10-13 12:31:14 +02:00 |
|
Robin Kertels
|
5890eae32f
|
[d3d9] Don't clear mipGenBit if texture is bound as attachment
|
2024-10-13 12:07:30 +02:00 |
|
Robin Kertels
|
5ff365b9f1
|
[d3d9] Remove initializer context
|
2024-10-12 10:09:17 +02:00 |
|
WinterSnowfall
|
48c57c11e9
|
[d3d9] Make proper use of X/YHotSpot for software cursors
|
2024-10-11 12:40:37 +02:00 |
|
Robin Kertels
|
d39d879838
|
[d3d9] Add a bunch of missing likely/unlikely to PrepareDraw
PrepareDraw is pretty much the hottest part of the d3d9
frontend, so we take every tiny bit we get.
|
2024-10-09 21:28:59 +00:00 |
|
WinterSnowfall
|
a1a3800b3f
|
[d3d9] Fix software cursor reset and transitions
|
2024-10-08 20:20:31 +02:00 |
|
Philip Rebohle
|
ad1f70beea
|
[dxvk] Support format conversion in copyImageToBuffer
|
2024-10-08 17:46:18 +02:00 |
|
Philip Rebohle
|
f67c8dd1da
|
[dxvk] Support format conversion in copyBufferToImage
|
2024-10-08 17:46:18 +02:00 |
|
Philip Rebohle
|
c614e537a9
|
[dxvk] Remove alignment parameter from staging buffers
Just align all suballocations to 256 bytes as usual.
|
2024-10-08 17:46:18 +02:00 |
|
WinterSnowfall
|
088cf45439
|
[d3d9] Validate 0 valued back buffer dimensions for fullscreen mode
|
2024-10-08 00:25:55 +02:00 |
|
WinterSnowfall
|
6e0c048b88
|
[d3d9] Return D3DERR_DEVICELOST on reset failure due to losable resources
|
2024-10-08 00:25:55 +02:00 |
|
WinterSnowfall
|
912a530d1c
|
[d3d9] Enforce various CheckDeviceMultiSampleType validations
|
2024-10-08 00:25:55 +02:00 |
|
WinterSnowfall
|
bbe82aa534
|
[d3d9] Fix (most) cursor-related Wine tests
|
2024-10-05 18:27:19 +02:00 |
|
WinterSnowfall
|
7ff5321910
|
[d3d9] Implement a software cursor
|
2024-10-05 18:27:19 +02:00 |
|
WinterSnowfall
|
9d19fa18a7
|
[d3d9] Set D3DRS_POINTSIZE_MIN to 0.0f in D3D8 compatibility mode
|
2024-10-05 17:58:04 +02:00 |
|
Philip Rebohle
|
2af3fde5f2
|
[d3d9] Remove additional swap chain context
|
2024-10-04 12:58:55 +02:00 |
|
Robin Kertels
|
7d05a99640
|
[d3d9] Fix StretchRect fast-path resolve
|
2024-10-03 00:06:51 +02:00 |
|
Robin Kertels
|
4807af01ad
|
[d3d9] Resolve whole image in StretchRect
Fixes a validation error in Sims 4.
|
2024-10-02 20:22:37 +02:00 |
|
Philip Rebohle
|
67d1285b08
|
[dxvk] Refactor meta blits
|
2024-09-30 10:29:27 +02:00 |
|
Philip Rebohle
|
e6f89062f5
|
[d3d9] Ensure that we stay below the maximum sampler count
|
2024-09-28 20:21:06 +02:00 |
|
Philip Rebohle
|
07dfeeb319
|
[d3d9] Move building sampler key to CS thread
All this bit twiddling is a bit slow. Introduces another structure
containing a minimal amount of sampler parameters taken from the
raw D3D9 state.
|
2024-09-28 20:21:06 +02:00 |
|
Philip Rebohle
|
543b5c7af8
|
[d3d9] Optimize sampler state decoding
This code is rather hot now, so make sure it's fast.
|
2024-09-28 20:21:06 +02:00 |
|
Philip Rebohle
|
c7dab6a442
|
[d3d9] Remove internal sampler pool
We have a sampler pool in the backend now, let's use it.
|
2024-09-28 20:21:06 +02:00 |
|
Philip Rebohle
|
4635397bb1
|
[dxvk] Implement sampler pool
Deduplicates redundant sampler objects and makes sampler creation
as well as lifetime tracking a bit more efficient.
|
2024-09-28 20:21:06 +02:00 |
|
Philip Rebohle
|
4ed50ec6be
|
[d3d9] Fix UP buffer allocation
|
2024-09-27 12:55:59 +02:00 |
|
Philip Rebohle
|
1fd3c8040d
|
[dxvk] Remove DxvkBufferAllocation
|
2024-09-26 17:37:50 +02:00 |
|
Philip Rebohle
|
6f6e75b4b8
|
[d3d9] Use DxvkBufferAllocation where appropriate
|
2024-09-26 17:37:50 +02:00 |
|
Robin Kertels
|
f5ca3cf5df
|
[d3d9] ResolveZ: Only copy aspects that both images support
|
2024-09-25 00:32:13 +01:00 |
|
Robin Kertels
|
d7c2e3ac76
|
[d3d9] Use correct aspect mask when blitting depth stencil textures
We don't want to blit stencil when the D3D9 format doesn't have
stencil.
|
2024-09-25 00:32:13 +01:00 |
|
Robin Kertels
|
ca3aa2014b
|
[d3d9] Improve comment about synchronization with ProcessVertices
|
2024-09-22 22:53:55 +02:00 |
|
Robin Kertels
|
1d49f247ac
|
[d3d9] Remove incorrect early-exit
The same texture could be bound to
multiple slots and if the shader doesn't
use the lower index texture, we'd never
end up uploading it.
|
2024-09-22 22:53:55 +02:00 |
|
Robin Kertels
|
ef8bad33a5
|
[d3d9] Optimize late buffer uploads
... similar to what we're doing for textures.
|
2024-09-22 22:53:55 +02:00 |
|
Robin Kertels
|
5bb8d09a96
|
[d3d9] Always use per-draw buffer uploads on pure SWVP devices
|
2024-09-22 21:03:23 +02:00 |
|
Robin Kertels
|
46e8161649
|
[d3d9] Enable shaderInt8 for ProcessVertices
|
2024-09-20 12:57:11 +02:00 |
|
Robin Kertels
|
7f8cfec46f
|
[d3d9] Always set IsAttachmentOnly for CreateOffscreenPlainSurfaceEx
Surfaces cannot be bound as textures.
|
2024-09-04 22:17:10 +00:00 |
|
Robin Kertels
|
1b172344eb
|
[d3d9] Remove redundant scene check in StretchRect
|
2024-09-04 22:17:10 +00:00 |
|
Robin Kertels
|
11efd5092e
|
[d3d9] Handle remaining edge cases of Discard & Lockable
|
2024-09-04 22:17:10 +00:00 |
|
Robin Kertels
|
d456d0b437
|
[d3d9] StretchRect: Allow using an offscreen surface as dst when stretching
|
2024-07-09 13:54:59 +00:00 |
|
Robin Kertels
|
cc87870be1
|
[d3d9] Relax stretch rect check in D3D8 mode
|
2024-07-09 13:54:59 +00:00 |
|
Robin Kertels
|
9b504b506e
|
[d3d9] Rework FF texcoord processing to be more accurate
|
2024-07-07 01:28:44 -07:00 |
|
Robin Kertels
|
bbe851f6a2
|
[d3d9] Reduce data copied for SWVP vertex decls
|
2024-07-05 00:44:28 -07:00 |
|
Robin Kertels
|
ab12ffa0da
|
[d3d9] Use max point size of Vulkan device
The default render state value has to match what we report in the device caps.
Fixes a Wine stateblock test.
|
2024-07-05 00:44:28 -07:00 |
|
Robin Kertels
|
11db6d691c
|
[d3d9] Fix reference leak in ProcessVertices
Also fixes a Wine test.
|
2024-07-05 00:44:28 -07:00 |
|
Robin Kertels
|
175772944c
|
[d3d9] Fix Wine test failures in StretchRect
|
2024-07-05 00:44:28 -07:00 |
|