Alpyne
|
0236e780a7
|
[d3d9] Fix std::hex in D3D9CommonTexture
|
2023-06-19 21:02:10 +01:00 |
|
Alpyne
|
a79772322b
|
[d3d9] Initialize m_mapFlags to 0
Can sometimes get weird default values in there.
|
2023-06-19 19:52:03 +01:00 |
|
Lilium
|
3fce9886f5
|
[d3d9] implement 'clampNegativeLodBias' as a conf option
|
2023-06-14 20:22:27 +01:00 |
|
Lilium
|
5d134b877a
|
[d3d9] implement 'samplerLodBias' as a conf option
|
2023-06-14 20:22:27 +01:00 |
|
Robin Kertels
|
c75ed86909
|
[d3d9] Reset vertex & index buffer in Reset
|
2023-06-13 22:47:55 +01:00 |
|
Robin Kertels
|
d1707026f9
|
[d3d9] Remove uninitialized device present params
|
2023-06-13 22:47:55 +01:00 |
|
Robin Kertels
|
b8d36eeacc
|
[d3d9] Fix losing auto depth stencil surface
|
2023-06-13 22:47:55 +01:00 |
|
Robin Kertels
|
8f740c53b4
|
[d3d9] Remove IsLosable
Redundant.
|
2023-06-13 22:47:55 +01:00 |
|
Robin Kertels
|
52ac271acb
|
[d3d9] Reject Reset if there's any remaining DEFAULT resources
|
2023-06-13 14:15:18 +01:00 |
|
Robin Kertels
|
a1a91dd766
|
[d3d9] Fix potential race when discarding systemmem textures
|
2023-06-11 16:57:17 +01:00 |
|
Robin Kertels
|
5fd025c513
|
[d3d9] Rename apitraceMode
It's not just used for apitrace and the new name
is more consistent with the D3D11 equivalent option.
|
2023-06-11 16:57:17 +01:00 |
|
Robin Kertels
|
d9d6316609
|
[d3d9] Remove allowDiscard hack
|
2023-06-11 16:57:17 +01:00 |
|
Robin Kertels
|
2c3f2b9ad1
|
[d3d9] Ignore DISCARD after device loss
|
2023-06-11 16:57:17 +01:00 |
|
Robin Kertels
|
1850819483
|
[d3d9] Only use direct buffer mapping for DYNAMIC buffers
Tests show that buffers with just D3DUSAGE_WRITEONLY are uploaded on Unlock.
|
2023-06-11 16:57:17 +01:00 |
|
Robin Kertels
|
bbaf01d9e6
|
[d3d9] Force staging buffer mapping for pure SWVP devices
|
2023-06-11 16:57:17 +01:00 |
|
Robin Kertels
|
4a55047dde
|
[d3d9] Forbid disabling SWVP on a pure SWVP device
|
2023-06-11 16:57:17 +01:00 |
|
Robin Kertels
|
52f04ca3d4
|
[d3d9] FF: Fix using wrong texCoord mask
|
2023-06-04 17:52:18 +01:00 |
|
Philip Rebohle
|
ab00591297
|
[dxvk] Introduce dxvk.tearFree option
And replace the old frontend-specific options.
|
2023-06-01 17:48:51 +02:00 |
|
Philip Rebohle
|
e6be0cf996
|
[dxvk] Rework present mode selection for swap chains
|
2023-06-01 17:48:51 +02:00 |
|
Philip Rebohle
|
1728d9e89d
|
[dxvk] Rework presenter creation to take a DxvkDevice
This way we can easily query available Vulkan features.
|
2023-06-01 17:48:51 +02:00 |
|
Philip Rebohle
|
b1b0abdbbf
|
[dxvk] Move presenter implementation to DXVK module
|
2023-06-01 17:48:51 +02:00 |
|
WinterSnowfall
|
8b6cbda6de
|
[d3d9] Properly expose the MaxVertexBlendMatrixIndex capability
|
2023-05-30 23:56:26 +01:00 |
|
Joshua Ashton
|
e0654977c9
|
[d3d9] Stub out D3D9On12 interfaces
Closes: #3445
|
2023-05-24 14:36:45 +01:00 |
|
Joshua Ashton
|
b5c18a02ae
|
[d3d9] Optimize UpdateAnyColorWrites for 0th case
This is the most common
|
2023-05-24 14:21:30 +01:00 |
|
Joshua Ashton
|
cafd104783
|
[d3d9] Pack RT bitmasks tightly
No need to waste a whole 32-bits for each entry here when we only have 4 possible RTs at a time.
|
2023-05-24 14:10:41 +01:00 |
|
Joshua Ashton
|
269bab2c34
|
[d3d9] Track if any color writes are enabled for an RT
Use this for determining whether to rebind FB and in checks, otherwise we can miss stuff for pure surface RTs
|
2023-05-24 14:05:13 +01:00 |
|
Joshua Ashton
|
075c0bf203
|
[d3d9] Use m_boundRTs for COLORWRITEENABLE checks
Also allows us to check for NULL RTs with this too and avoid extra work!
|
2023-05-24 13:42:42 +01:00 |
|
Joshua Ashton
|
8560efa3c7
|
[d3d9] Unbind RTs which are unwritten by a PS
Otherwise we can end up with feedback loops on RTs with a 0 color mask.
Closes: #3447
|
2023-05-24 13:40:17 +01:00 |
|
Robin Kertels
|
d2759c20ba
|
[d3d9+d3d11] Remove DEVICE_LOCAL flag when forcing cached memory
Otherwise DXVK removes both flags at once
and we may end up with uncached memory.
|
2023-05-22 23:53:01 +02:00 |
|
Joshua Ashton
|
f2bb1d4b69
|
[d3d9] Add extended swapchain interfaces
Allows for controling colorspace, etc.
|
2023-05-19 19:26:27 +01:00 |
|
Oleksii Bozhenko
|
80f7d2abd8
|
[d3d9] fix opCompositeExtract out of bound
Closes: https://github.com/doitsujin/dxvk/issues/3293
Signed-by: Oleksii Bozhenko <oleksii.bozhenko@globallogic.com>
|
2023-05-09 20:39:55 +00:00 |
|
Alpyne
|
2b09932d51
|
[d3d9] Fix crash if device is freed with bound textures
|
2023-05-09 00:12:35 +00:00 |
|
Robin Kertels
|
bef2ef69ab
|
[d3d9] Fix stupid variable name
|
2023-05-07 14:05:39 +02:00 |
|
Robin Kertels
|
b08665c808
|
[d3d9] Fix compiler warning in Clear size check
|
2023-05-06 14:16:54 +01:00 |
|
Robin Kertels
|
96e22e7c67
|
[d3d9+util] Remove a bunch of redundant config options
|
2023-05-06 14:16:54 +01:00 |
|
Robin Kertels
|
5443a2f9f5
|
[d3d9] Don't swap buffers for SWAPEFFECT_COPY & DISCARD with 1 backbuffer
|
2023-05-06 14:16:54 +01:00 |
|
Robin Kertels
|
242ac20752
|
[d3d9] Release DC in fallback present path
|
2023-05-04 18:42:04 +02:00 |
|
Robin Kertels
|
b4366db398
|
[d3d9] Implement rudimentary device loss
|
2023-05-03 13:04:00 +01:00 |
|
Joshua Ashton
|
f140d2de0d
|
[d3d9] Handle swapchain OOM and other errors more gracefully
Supercedes: #2964
|
2023-05-03 12:59:02 +01:00 |
|
Robin Kertels
|
860237e775
|
[d3d9] Skip 0x0 clears
|
2023-05-03 13:23:47 +02:00 |
|
Robin Kertels
|
a42643b235
|
[d3d9] Fall back to GDI blit for partial presents
|
2023-05-03 12:18:11 +01:00 |
|
Robin Kertels
|
990a720525
|
[d3d9] Handle a bunch of texture converter edge cases
|
2023-04-16 09:18:30 +01:00 |
|
oltolm
|
6b779206d9
|
remove unneeded definitions
|
2023-04-11 18:30:46 +02:00 |
|
Robin Kertels
|
af0009c5de
|
[d3d9] Use DxvkFormatInfo for video formats
And fix UYUY and YUY2 in the process.
|
2023-04-08 03:15:44 +01:00 |
|
Robin Kertels
|
d11878e793
|
[d3d9] Only apply viewport zBias if minZ is below 0.5
Fixes Space Marine shadows.
Tests show that Windows D3D9 (Nvidia) works like that.
|
2023-03-23 03:52:08 +00:00 |
|
Philip Rebohle
|
9bdad71dc6
|
[d3d11] Implement CreateWrappedResource for D3D12 textures
|
2023-03-18 00:50:42 +01:00 |
|
Philip Rebohle
|
da32453b42
|
[dxvk] Add submission feedback to command submissions
|
2023-03-16 20:59:43 +01:00 |
|
WinterSnowfall
|
243c2f3cf5
|
[d3d9] remove support for the A1/X1R5G5B5 formats
|
2023-03-14 13:17:13 +00:00 |
|
Robin Kertels
|
d14dcf5d47
|
[d3d9] Fix redundant copy of SWVP VS consts
Fixes performance regression caused by state block changes.
|
2023-03-10 03:24:32 +00:00 |
|
Joshua Ashton
|
996acbe3f2
|
[d3d9] Refactor state blocks to allocate dynamically.
|
2023-03-07 23:24:01 +00:00 |
|