Philip Rebohle
e882a7f8ba
[d3d11] Implement extended shader interface
2022-08-31 16:25:44 +02:00
Philip Rebohle
610472e658
[d3d11] Introduce ID3D11VkExtShader
2022-08-31 16:25:44 +02:00
Philip Rebohle
91bdc8d06c
[d3d11] Expose feature level 12_0
2022-08-26 05:53:03 +02:00
Philip Rebohle
91ff6d68e1
[d3d11] Expose support for tiled resources
2022-08-26 05:53:03 +02:00
Philip Rebohle
790da79512
[d3d11] Implement min/max filters
2022-08-26 05:53:03 +02:00
Philip Rebohle
0a222aaaf0
[d3d11] Implement CopyTiles and UpdateTiles
2022-08-26 05:53:03 +02:00
Philip Rebohle
ca41bb4ea4
[d3d11] Implement CopyTileMappings
2022-08-26 05:53:03 +02:00
Philip Rebohle
ff2ff37696
[d3d11] Implement UpdateTileMappings
2022-08-26 05:53:03 +02:00
Philip Rebohle
5130638ebe
[d3d11] Implement ResizeTilePool
2022-08-26 05:53:03 +02:00
Philip Rebohle
e8f59bfd7c
[d3d11] Implement tile pool creation
2022-08-26 05:53:03 +02:00
Philip Rebohle
0cd67cb98a
[d3d11] Implement tiled image creation
2022-08-26 05:53:03 +02:00
Philip Rebohle
0637fdf82e
[d3d11] Implement tiled buffer creation
2022-08-26 05:53:03 +02:00
Philip Rebohle
7f856b545a
[d3d11] Implement format feature check for tiled resources
2022-08-26 05:53:03 +02:00
Philip Rebohle
ca0dedd213
[d3d11] Implement multisampling support check for tiled resources
2022-08-26 05:53:03 +02:00
Philip Rebohle
3f7093325b
[d3d11] Implement GetResourceTiling
2022-08-26 05:53:03 +02:00
Philip Rebohle
f97660e210
[d3d11] Implement TiledResourceBarrier
2022-08-26 05:53:03 +02:00
Philip Rebohle
626ccef43b
[d3d11] Enable sparse features if supported by the device
2022-08-26 05:53:03 +02:00
Philip Rebohle
2329c71b6f
[dxvk] Implement sampler reduction mode
2022-08-26 05:53:03 +02:00
Philip Rebohle
edc74f4c8b
[d3d11] Handle D3D11_FEATURE_D3D11_OPTIONS5
2022-08-26 05:15:28 +02:00
Philip Rebohle
9b4e53cee2
[d3d11] Handle D3D11_FEATURE_SHADER_CACHE
2022-08-26 05:15:28 +02:00
Philip Rebohle
9420391dce
[d3d11] Adjust reported resource sharing caps
2022-08-26 05:15:28 +02:00
Philip Rebohle
f521a342d0
[d3d11] Report marker support appropriately
2022-08-26 05:15:28 +02:00
Philip Rebohle
559fa50f54
[d3d11] Introduce d3d11.enableContextLock option
2022-08-24 12:27:02 +02:00
Philip Rebohle
86bdda70b4
[d3d11] Move D3D10Multithread instance to immediate context
...
Deferred contexts do not support this.
2022-08-24 12:15:35 +02:00
Philip Rebohle
cff9056915
[dxvk] Always enable timeline semaphore feature
2022-08-22 00:40:07 +02:00
Philip Rebohle
23c3960f65
[dxvk] Store WSI semaphore pair directly with the command list
2022-08-22 00:07:15 +02:00
Joshua Ashton
801d97806d
[d3d11] Stub out OpenSharedResourceGeneric on non-Windows
2022-08-21 22:37:13 +02:00
Joshua Ashton
baba2e3c09
[d3d11] Use dxgi_dep instead of lib_dxgi
...
Fixes building on native.
2022-08-21 22:03:45 +02:00
Joshua Ashton
baa88d8cf1
[d3d11] Don't check for apitrace on non-Windows platforms
2022-08-21 22:03:45 +02:00
Joshua Ashton
a554a6d60d
[d3d11] Include win32 compat headers where applicable
2022-08-21 21:40:55 +02:00
Joshua Ashton
4a113c39d3
[d3d11] Remove compat definitions for older MinGW
...
These conflict with native builds, and have existed for a long time now.
2022-08-21 21:35:24 +02:00
Joshua Ashton
0a203095d6
[d3d11] Use topath helper in shader code
2022-08-21 21:28:04 +02:00
Joshua Ashton
9f9c93dcbd
[d3d11] Use new wsi interface
2022-08-20 20:27:07 +02:00
Philip Rebohle
ea4e0bc470
[d3d9,d3d11] Require shaderDemoteToHelperInvocation feature
2022-08-19 13:36:54 +00:00
Philip Rebohle
658d824ddd
[d3d11] Silence log spam for invalid image operations
2022-08-18 14:48:29 +02:00
Philip Rebohle
3806bd44d8
[dxvk] Change descriptor info to take only one shader stage
...
And fix the binding index -> descriptor mapping.
This affects D3D9 since the spec constant change.
2022-08-17 22:40:58 +02:00
Philip Rebohle
13152088d4
[dxgi] Use new format support queries to initialize format table
2022-08-17 15:39:03 +02:00
Philip Rebohle
4aeb397ba3
[d3d11] Use new format support queries to check D3D11 format support
2022-08-17 15:39:03 +02:00
Philip Rebohle
099c70c2bd
[d3d11] Use new format support queries in resource creation
2022-08-17 15:26:03 +02:00
Philip Rebohle
3717922381
[d3d11,dxbc] Rework check for TypedUAVLoadAdditionalFormats
2022-08-17 15:26:03 +02:00
Philip Rebohle
61025c0079
[dxvk] Don't disable frame rate limiter if vsync is enabled
...
This only works if we know the actual refresh rate of the display.
However, in a wine virtual desktop or with proton's fshack, this
is often not the case, so we'd see a 60 Hz mode on a high-refresh
rate display and never actually enable the limiter.
2022-08-17 01:53:24 +02:00
Philip Rebohle
d3ab905621
[d3d11] Request high-priority shader compiles as necessary
...
This can reduce stutter in case shaders are needed immediately while
background threads are still busy compiling a different set of shaders.
2022-08-11 12:39:28 +02:00
Philip Rebohle
3edb0ef114
[d3d11] Ensure that all required inputs are defined by input layout
2022-08-10 14:12:39 +02:00
Derek Lesho
57dcf73a54
d3d11: Fix shared textures that export both NT and KMT handles.
...
We should always create the DxvkImage with the KMT handle type, so that the call later to openKmtHandle succeeds. Also, don't free sharedHandle when exporting an NT handle.
2022-08-08 23:31:01 +02:00
Philip Rebohle
0adf64f085
[dxvk] Add flat shading parameter to rasterizer state
2022-08-08 13:34:59 +02:00
Philip Rebohle
a74f8da7b7
[d3d11] Use bindVertexBufferRange whenever possible
2022-08-07 19:03:51 +02:00
Philip Rebohle
97f0d1dfb8
[d3d11] Use bindIndexBufferRange whenever possible
2022-08-07 19:03:51 +02:00
Philip Rebohle
35dde3e1b9
[d3d11] Change how resourece binding treats null resources
2022-08-07 19:03:51 +02:00
Philip Rebohle
897e7816f0
[d3d11] Don't return undefined slices from GetBufferSlice
...
Instead, return a slice with length zero.
2022-08-07 19:03:51 +02:00
Philip Rebohle
d314bee86d
[d3d11] Fix bad signature of various BindToContext methods
2022-08-07 18:44:47 +02:00