Commit Graph

701 Commits

Author SHA1 Message Date
Philip Rebohle 04e16d219f
Merge pull request #74 from pchome/patch-for-TW3
[d3d11] Fix unhandled exception
2018-02-14 08:20:31 +01:00
pchome fb3734ce49
[d3d11] Fix unhandled exception
With this patch The Witcher 3 can successfully load saved game.
2018-02-14 07:35:39 +02:00
Philip Rebohle fba16e2a04
[d3d11] Added experimental support for RTVs into 3D images 2018-02-14 03:16:53 +01:00
Philip Rebohle 7bbb6ea93b
[dxvk] More query stuff 2018-02-14 03:16:39 +01:00
Philip Rebohle 4965f8c318
[d3d11] Implemented SRV and RTV normalization 2018-02-14 01:29:50 +01:00
Philip Rebohle 54cfdbdc51
[dxvk] Implemented more query and query pool methods 2018-02-13 13:43:27 +01:00
Philip Rebohle 5beae25bdf
[dxvk] Implemented virtual query class and query pool stub 2018-02-12 16:36:42 +01:00
Philip Rebohle 82d324384c
Merge branch 'master' of https://github.com/doitsujin/dxvk 2018-02-12 08:52:45 +01:00
Andrew Eikum 844249ca6e Improve documentation for building on Debian (#66)
* setup_dxvk.sh: Fix typo

* [general] README: Document required meson version

Meson 0.43 introduced support for @BASENAME@ in the generator argument
list, so document that we need at least that.

* [general] README: Document mingw-w64 threading support requirement
2018-02-12 08:07:37 +01:00
Raffarti cb92d9954c Setup script: improvements to error handling (#65)
* Setup script: improvements to error handlings

* Setup script: added missing `-e` to echo

* Setup script: fix misplaced fullstop due to windows \r
2018-02-12 08:07:24 +01:00
Philip Rebohle 8a4fa0b1b8
[dxvk] Added Query stub 2018-02-08 19:32:53 +01:00
Raffarti 8f134bafcf Fixes for the setup script (#63)
* Setup script: fix typo

* Setup script: set file mode as executable
2018-02-08 13:04:02 +01:00
Philip Rebohle 807dd72656
[hud] Use buffer invalidation instead of synchronization
The previously used synchronization may have had a negative impact on
performance, whereas the new approach is similar to what D3D11 apps do.
2018-02-08 12:48:54 +01:00
Philip Rebohle 59be5b72e8
[dxbc] Added support for oDepthGe/oDepthLe 2018-02-08 10:28:27 +01:00
Philip Rebohle b3ba401503
[dxbc] Added support for early fragment tests 2018-02-08 10:26:46 +01:00
Philip Rebohle 5a42512028
[dxbc] Silence DclIndexRange warnings 2018-02-08 10:17:59 +01:00
Philip Rebohle f4d679caa2
[d3d11] Enable sampleRateShading feature 2018-02-08 10:06:10 +01:00
Philip Rebohle 7f409f446a
[dxvk] Improve internal framebuffer APIs
Removes an unnecessary dynamic memory allocation in favour
of a stack-allocated array.
2018-02-07 16:46:39 +01:00
Philip Rebohle ad6c45d6b1
[dxvk] Improve debuggability of shader compiler issues
When using DXVK_LOG_LEVEL=debug, the graphics pipeline manager now
prints the names of the shaders used by the pipeline. This shall
help debug driver crashes in vkCreate*Pipelines.
2018-02-07 16:44:30 +01:00
Philip Rebohle 0f13914ff0
[dxvk] Fixed MSAA issue in render pass info 2018-02-07 13:14:52 +01:00
Philip Rebohle 61ce7022e2
[d3d11] Fix optional write issue in GetData() 2018-02-07 12:35:40 +01:00
Raffarti a473c914f4 Setup script: added an option to check status (#59)
* Setup script: added an option to check status

* Setup script: update help

* Setup script: added return values

* Setup script: add check on wineprefix

* Setup script: added --quiet -y -n options
2018-02-06 17:42:53 +01:00
Philip Rebohle b31ebbb690
[d3d11] Add support for DSV read-only flags
Games need this in order to use the depth buffer as both
a framebuffer attachment and a shader resource.
2018-02-06 17:31:23 +01:00
Philip Rebohle c1efe2f6b5
[general] Updated README 2018-02-06 08:17:17 +01:00
Philip Rebohle 83458c4467
[dxvk] Separated resource view classes
Since we are doing this for UAVs already, we should be
doing this for all view classes in order to account for
the minor differences between all of them.
2018-02-05 22:35:23 +01:00
Philip Rebohle 0437e5652b
[dxvk] Add index buffer and vertex buffer usage flags to dummy buffer 2018-02-05 19:09:04 +01:00
Philip Rebohle 6f6ecb441d
[dxvk] Add hack to allow RenderDoc to function on AMD GPUs 2018-02-05 12:12:50 +01:00
Philip Rebohle 26ef59dd6f
[d3d11] dlls_setup.sh -> setup_dxvk.sh
Also, the install script no longer relies on the prefix
being set by the Meson configuration.
2018-02-05 11:58:49 +01:00
Philip Rebohle ad81d0bfa5
[general] Remove _vk prefix from DLL names
Fixes #56.
2018-02-05 09:10:42 +01:00
Raffarti 1a0a924c7d wine install script to support overrides only. (#57)
* wine install script to support overrides only.

* Setup script: don't stop on error
2018-02-05 09:07:05 +01:00
Philip Rebohle f69d2481a0
[dxvk] Unbind incompatible resources 2018-02-05 08:58:15 +01:00
Philip Rebohle 6f1ed72b78
[dxvk] Reduced resource binding overhead a bit 2018-02-04 23:59:34 +01:00
Philip Rebohle e25f4b2299
[d3d11] Implemented ClearUnorderedAccessViewUint for images 2018-02-04 23:57:43 +01:00
Philip Rebohle fc947f5985
[dxbc] Implemented Geometry SV RenderTargetId 2018-02-04 23:36:00 +01:00
Philip Rebohle b741b3b4d5
[dxbc] Fixed output value store for geometry shaders 2018-02-04 23:09:07 +01:00
Philip Rebohle 8c64a81e27
[dxbc] Implemented stream instructions for single-stream GS 2018-02-04 22:59:15 +01:00
Philip Rebohle b8a540d4ef
[dxbc] Implemented Lod instruction 2018-02-04 22:41:23 +01:00
Philip Rebohle 54108726d5
[dxbc] Implemented SampleInfo instruction 2018-02-04 19:30:39 +01:00
Philip Rebohle 76d48fcdf5
[dxbc] Fixed image size query for multisampled images 2018-02-04 18:08:18 +01:00
Philip Rebohle d0201a1bab
[dxbc] Implemented GatherPo and GatherPoC instructions 2018-02-04 17:40:02 +01:00
Philip Rebohle 49f13cfdc4
[dxbc] Implement CountBits/FirstBit instructions 2018-02-04 13:14:23 +01:00
Philip Rebohle 495f58370c
[d3d11] Implemented CopySubresourceRegion for buffers
Also fixed a typo where ResolveSubresource would do the
wrong thing.
2018-02-03 21:14:55 +01:00
Philip Rebohle 201cb88d27
[dxbc] Remove push constant block for now
This needs some more work.
2018-02-03 10:36:17 +01:00
Philip Rebohle a567f6a5a5
[dxbc] Do not emit depth type for non-sampled resources
Fixes a crash in the Nvidia driver. These type
declarations were never used in the first place.
2018-02-02 21:42:04 +01:00
Philip Rebohle 14d5054893
[dxvk] Initial work on instance data fetch rates
Adds a pipeline flag to indicate that instanced
draw calls need to be emulated.
2018-02-01 20:15:25 +01:00
Philip Rebohle 0154d0856d
[dxbc] Added push constant definition block
This will be used to fake a draw's instance ID when
per-instance data fetch rates other than 1 are used.
2018-02-01 18:07:24 +01:00
Philip Rebohle b860915aed
[dxvk] Set dummy vertex buffer size to the maximum binding stride 2018-02-01 14:31:10 +01:00
Philip Rebohle c66492a90f
[dxvk] Initialize dummy resources to zero
Read access to unbound images and buffers usually yields
a result vector that contains zeroes in all components.
2018-02-01 14:26:38 +01:00
Philip Rebohle d4a0581f8f
[dxvk] Bind dummy resource for unbound vertex and index buffers
Allows GTA V to run, although heavy rendering artifacts remain.
2018-02-01 13:29:57 +01:00
Philip Rebohle 0791c8ca4c
Merge pull request #46 from libcg/query_event
[d3d11] mock D3D11_QUERY_EVENT
2018-02-01 08:09:49 +01:00