Robin Kertels
|
900edf55b5
|
[d3d9] Only create sampling image views if the image supports sampling
Fixes validation error
|
2024-09-20 12:57:11 +02:00 |
|
Robin Kertels
|
daccde7643
|
[d3d9] Don't set IMAGE_USAGE_SAMPLED_BIT for non-msaa depth stencil surfaces
|
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 |
|
Paul Gofman
|
5c987ea3d1
|
[d3d9] Handle map failure in texture initializer
|
2024-08-08 21:42:04 +02:00 |
|
Philip Rebohle
|
611dc60018
|
[d3d9] Do not support cube textures with depth formats
|
2024-05-08 17:05:48 +00:00 |
|
Robin Kertels
|
494f7fd38d
|
[d3d9] Only set initial NeedsUpload for D3DPOOL_MANAGED textures
|
2023-09-19 13:25:12 -07:00 |
|
Alpyne
|
0236e780a7
|
[d3d9] Fix std::hex in D3D9CommonTexture
|
2023-06-19 21:02:10 +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
|
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
|
3393c5f4ff
|
[d3d9] Only upload mip 0 of managed automipgen textures
|
2022-11-19 17:34:02 +00:00 |
|
Robin Kertels
|
d8933ca175
|
[d3d9] Only do one allocation for all texture subresources
|
2022-11-06 19:35:03 +00:00 |
|
Georg Lehmann
|
bc31ebe151
|
[d3d9] Fix OptimizeLayout with feedback loop usage.
We kind of need dcc on GFX8/9.
|
2022-10-29 11:21:55 +02:00 |
|
Georg Lehmann
|
50857537d6
|
[d3d9] Use D32 not D32_S8 when upgrading formats without stencil aspect.
|
2022-09-27 18:58:32 +01:00 |
|
Georg Lehmann
|
5684e29718
|
[d3d9] Track if a texture is upgraded to D32f
|
2022-09-26 21:39:51 +01:00 |
|
Joshua Ashton
|
ac13112619
|
[d3d9] Add ID3D9VkInteropTexture
Provides access to the backing resource of a D3D9 texture.
|
2022-09-22 17:58:54 +01:00 |
|
Philip Rebohle
|
3a636f6094
|
[dxvk] Introduce DxvkFormatQuery
|
2022-09-11 16:40:02 +02:00 |
|
Philip Rebohle
|
4b8387c9b1
|
[d3d9] Set host stage and access bits for image staging buffers
This is already being done for buffers.
|
2022-09-08 19:26:55 +02:00 |
|
Philip Rebohle
|
3ee808afd6
|
[dxvk] Make memory object of an image publicly accessible
|
2022-08-26 05:53:03 +02:00 |
|
Robin Kertels
|
a8b578b2a2
|
[d3d9] Fix crash when auto generating mip maps for unmappable textures
|
2022-08-22 01:48:35 +01:00 |
|
Joshua Ashton
|
968bdccbef
|
[d3d9] Include win32 compat headers where applicable
|
2022-08-21 21:40:55 +02:00 |
|
Philip Rebohle
|
80fc1d8b25
|
[d3d9] Use new format support queries
|
2022-08-17 15:39:03 +02:00 |
|
Joshua Ashton
|
084969135b
|
[d3d9] Only set feedback loop usage on textures, not plain surfaces
|
2022-08-16 12:33:17 +00:00 |
|
Joshua Ashton
|
a78aab147e
|
[d3d9] Add feedback loop usage for DS
|
2022-08-16 10:39:06 +00:00 |
|
Joshua Ashton
|
870dd18f92
|
[d3d9] Set VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT for render targets
Closes: #2825
|
2022-08-16 08:43:52 +00:00 |
|
Robin Kertels
|
ea76bfd019
|
[d3d9] Unmap unused resources
|
2022-07-29 13:14:33 +01:00 |
|
Robin Kertels
|
6ca6554452
|
[d3d9] Use memory mapped files for textures
|
2022-07-29 13:14:33 +01:00 |
|
Philip Rebohle
|
cdf22a4086
|
[dxvk] Rename imageFormatInfo -> lookupFormatInfo
|
2022-07-15 17:25:13 +02:00 |
|
Philip Rebohle
|
9e110cd3e5
|
[d3d9] Fix up unsupported sample counts
|
2022-07-14 14:58:58 +01:00 |
|
Philip Rebohle
|
caa83247d9
|
[d3d9] Mark backend image as shared for shared resources
Otherwise, the backend may not transition the image to the correct
layout after each submission.
|
2022-03-13 02:32:56 +01:00 |
|
Philip Rebohle
|
59e3c96976
|
[d3d9] Fix texture formats that can be exported
|
2022-03-12 22:24:05 +01:00 |
|
Derek Lesho
|
1d1d8adee6
|
[d3d9] Fix shared handle check for exporting images
Co-authored-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
|
2022-03-12 21:35:42 +01:00 |
|
Derek Lesho
|
6640cc350c
|
[d3d9] Add support for shared IDirect3DTexture9 resources.
|
2022-03-12 16:23:06 +01:00 |
|
Robin Kertels
|
b220c8989b
|
[d3d9] Only enable FETCH4 for single channel formats
|
2022-01-28 21:34:18 +00:00 |
|
Joshua Ashton
|
5d4b7db9e6
|
[d3d9] Fix = alignent in CreateView
|
2021-11-11 23:51:59 +00:00 |
|
Georg Lehmann
|
82d40f5bba
|
[d3d9] Return a pointer in GetUnsupportedFormatInfo
|
2021-08-23 17:38:50 +01:00 |
|
Georg Lehmann
|
26516dc904
|
[d3d9] Fix ColorFill with OffscreenPlainSurface
|
2021-08-08 02:15:06 +00:00 |
|
Robin Kertels
|
9f0775b1ac
|
[d3d9] Always use cached memory for texture mapping buffers
We read from that memory when uploading the texture.
Fixes performance in Oblivion.
|
2021-07-08 21:42:12 +00:00 |
|
Robin Kertels
|
0bc8b0b33a
|
[d3d9] Align pitch to 4
|
2021-04-22 17:44:58 +01:00 |
|
Robin Kertels
|
dba7525954
|
[d3d9] Mark non default resources as dirty by default
|
2021-03-22 17:43:07 +00:00 |
|
Robin Kertels
|
4f45e74d96
|
[d3d9] Improve naming of texture dirty flag and dirty boxes
|
2021-03-22 17:43:07 +00:00 |
|
Philip Rebohle
|
dcf4599c98
|
[d3d9] Use ATTACHMENT_OPTIMAL layout for render targets
Significantly improves GPU-bound performance on RADV in a number of games.
|
2021-02-26 05:02:32 +00:00 |
|
Robin Kertels
|
338f6dfb0e
|
[d3d9] Track dirty regions for UpdateTexture
|
2021-02-14 23:55:00 +00:00 |
|
Philip Rebohle
|
4f184b3424
|
[d3d9] Mark images as shared if necessary
|
2021-02-14 04:00:02 +01:00 |
|
Joshua Ashton
|
743f309253
|
[d3d9] Implement YV12 video format
Needed for #1726 otherwise it will upload dump that upload garbage in a YUV2 texture.
|
2020-08-17 22:32:30 +01:00 |
|
Joshua Ashton
|
9fe1b9d03f
|
[d3d9] Replace macropixel size with plane count
|
2020-08-07 10:56:26 +01:00 |
|
Joshua Ashton
|
2bf9f298af
|
[d3d9] Implement NV12 format conversion
|
2020-08-07 10:56:26 +01:00 |
|
Joshua Ashton
|
e6ed8dab63
|
[d3d9] Perform tracking for preloaded managed resources
|
2020-06-11 05:53:33 +01:00 |
|
Joshua Ashton
|
b1bd3597a4
|
[d3d9] Implement PreLoad for buffers + textures
|
2020-06-11 05:53:33 +01:00 |
|
Joshua Ashton
|
4c1deabcd3
|
[d3d9] Don't expose surfaces for autogenned mips
|
2020-05-26 13:11:24 +01:00 |
|