Philip Rebohle
5fa8174816
[tests] Add D3D11 format tests
...
Small test program that lists all supported features for D3D11 formats.
2018-04-14 16:09:53 +02:00
Philip Rebohle
19e0829a37
[dxgi] Enumerate scaled and centered display modes correctly
...
Fixes fullscreen mode in Dark Souls 3.
2018-03-24 13:42:23 +01:00
Philip Rebohle
7c65764ed8
[tests] Fix dxbc compiler test compilation issue
2018-03-23 19:46:23 +01:00
Mikhail Paulyshka
3cb3c05888
[dxgi] implement DxgiOutput::FindClosestMatchingMode() ( #153 )
...
rev2:
* use std::vector instead of C array
* add clarification about TODO
2018-03-12 08:52:32 +01:00
Mikhail Paulyshka
9deb73a2a7
Add support for MSVC, attempt 3 ( #130 )
...
* [dxvk] fixes for MSVC
* nullptr -> int is illegal conversion for MSVC. nullptr was replaced with VK_NULL_HANDLE
* MSVC does not support source code strings longer than 65535 chars. String was replaced with array of chars.
* [utils] fixes for MSVC
* __mingw_uuidof() does not exists in MSVC
* apply GCC pragma only for GCC
* added missing header
* [dxbc] fixes for MSVC
*added missing header
* [dxgi] fixes for MSVC
* user __declspec(uuid()) instead of _mingw_uuidof()
* do not use DLLEXPORT macro for MSVC
* [d3d11] fixes for MSVC
* replace WINBOOL with BOOL
* do not declare D3D11 structs for MSVC
* do not use DLLEXPORT macro for MSVC
* [meson] fix build scripts for MSVC
* change cpp version from c++1z to c++latest for MSVC
* set -DOMINMAX definition for MSVC
* disable test and wine_utils for MSVC
* use .def files instead of __declspec(dllexport) for MSVC (bypass 'C2375: redefinition; different linkage' error)
* fix .def files for MinGW
* add --enable-stdcall-fixup linker flag for MinGW
2018-03-06 18:34:34 +01:00
Philip Rebohle
1cbe6829eb
Revert "Add MSVC support ( #123 )"
...
This reverts commit c63d4361a0
.
2018-03-05 14:32:28 +01:00
Mikhail Paulyshka
c63d4361a0
Add MSVC support ( #123 )
...
* [utils] fixes for MSVC
* __mingw_uuidof() does not exists in MSVC
* apply GCC pragma only for GCC
* added missing header
* [dxvk] fixes for MSVC
* nullptr -> int is illegal conversion for MSVC. nullptr was replaced with VK_NULL_HANDLE
* MSVC does not support source code strings longer than 65535 chars. String was replaced with array of chars.
* [dxbc] fixes for MSVC
*added missing header
* [dxgi] fixes for MSVC
* user __declspec(uuid()) instead of _mingw_uuidof()
* [d3d11] fixes for MSVC
* replace WINBOOL with BOOL
* do not declare D3D11 structs
* [meson] fix build scripts for MSVC
* change cpp version from 1z to 17 for MSVC
* set -DOMINMAX definition for MSVC
* disable test and wine_utils for MSVC
* use .def files instead of __declspec(dllexport) (bypass 'C2375: redefinition; different linkage' error)
2018-03-05 14:28:51 +01:00
pchome
f6bcd7438d
[tests] Simplified dxbc disasm test
...
* Avoid buggy wstring conversion
* Native `D3DReadFileToBlob()` and `D3DWriteBlobToFile()` used
* Extended to be able write to file directly
2018-03-05 15:04:30 +02:00
Philip Rebohle
e89c7e9276
[d3d11] Added test case for occlusion queries and small improvements
2018-02-19 11:27:14 +01:00
Grazvydas Ignotas
d1ae152f60
Fix build on gcc6
...
Fixes build with mingw from ubuntu 17.10.
Missing C++17 features I guess.
2018-01-19 00:59:40 +02:00
Philip Rebohle
2b5bb16334
[dxgi] Removed SDL dependency from DxgiOutput
2018-01-13 16:32:46 +01:00
Philip Rebohle
64eb0f909d
[tests] Removed dxvk-triangle test
2018-01-12 13:56:25 +01:00
Philip Rebohle
f4cd90d6fa
[dxbc] Implemented vendor-specific workarounds in an attemt to fix Nvidia
2018-01-07 20:05:27 +01:00
Philip Rebohle
f93745adcf
[dxbc] Implemented bfi and bfe instructions
2017-12-30 03:44:19 +01:00
Philip Rebohle
7aed861862
[tests] Fixed memory leak in compute demo
2017-12-29 01:12:50 +01:00
Philip Rebohle
8691d29185
[dxvk] Initial support for post-compute barriers
2017-12-29 01:09:54 +01:00
Philip Rebohle
a51439fb29
[dxbc] Implemented thread group shared memory and barriers
2017-12-29 00:51:31 +01:00
Philip Rebohle
9848f9bdaa
[tests] Updated compute sample
2017-12-28 19:07:52 +01:00
Philip Rebohle
533ce13956
[d3d11] Triangle test now tests shader resource buffers
2017-12-27 15:45:35 +01:00
Philip Rebohle
e668c65017
[d3d11] Experimental support for typed shader buffer views
2017-12-27 14:32:07 +01:00
Philip Rebohle
5ce975eed9
[dxbc] Fixed SV_VERTEXID and SV_INSTANCEID
...
Apparently, these two system values ignore the base vertex
and base instance from the draw call. This is not documented,
but in line with what the AMD driver does on Windows.
2017-12-27 12:49:25 +01:00
Philip Rebohle
d66593fab5
[tests] Added simple app that compiles HLSL shaders
2017-12-26 01:04:03 +01:00
Philip Rebohle
3762df6cb6
[d3d11] Added proper support for 1D and 3D shader resources
2017-12-24 13:33:22 +01:00
Philip Rebohle
2a266eaad4
[general] Added 32-bit support
2017-12-12 12:50:52 +01:00
Philip Rebohle
4144e3229a
[d3d11] Implemented blend state creation
2017-12-11 13:03:07 +01:00
Philip Rebohle
f484454854
[d3d11] Device children actually do hold a reference to the device
2017-12-09 15:57:05 +01:00
Philip Rebohle
0610296248
[d3d11] Implemented constant buffer binding
2017-12-08 19:39:33 +01:00
Philip Rebohle
e872448ca3
[dxbc] Refactored shader compiler to return a DxvkShader
2017-12-08 18:14:05 +01:00
Philip Rebohle
26dc8e2dd8
[tests] Updated D3D11 triangle sample
2017-12-08 11:19:12 +01:00
Philip Rebohle
b49815657e
[dxvk] Refactored blend state
2017-12-08 01:06:48 +01:00
Philip Rebohle
84605a1310
[dxvk] Refactored input layout state
2017-12-08 00:44:58 +01:00
Philip Rebohle
385c92db5a
[dxvk] Refactoring of most constant state objects
2017-12-08 00:02:43 +01:00
Philip Rebohle
b7e263fc73
[dxbc] Added highly experimental shader input/output interface code
2017-12-07 16:29:34 +01:00
Philip Rebohle
19851c8432
[dxvk] Re-implemented pipeline creation within the backend
2017-12-07 09:38:31 +01:00
Philip Rebohle
69b938118d
[general] Fixed write conflicts in logger
2017-12-06 23:36:11 +01:00
Philip Rebohle
6c9bc89c39
[tests] Fixed D3D11 device creation
2017-12-06 19:17:38 +01:00
Philip Rebohle
5944410d2c
[tests] Removed dxvk dependency for d3d11 and dxgi tests
2017-12-06 19:06:23 +01:00
Philip Rebohle
46909f82fc
[tests] Added DXBC disassembler
2017-12-06 18:53:25 +01:00
Philip Rebohle
fadcac5a8e
[dxgi] Fixed swap chain issue in ResizeTargets
2017-12-05 15:24:58 +01:00
Philip Rebohle
77ca0a84b7
Revert "[dxgi] Removed SDL dependencies from DxgiSwapChain"
...
This reverts commit 245ba75123
.
2017-12-05 15:20:03 +01:00
Philip Rebohle
245ba75123
[dxgi] Removed SDL dependencies from DxgiSwapChain
2017-12-05 14:43:03 +01:00
Philip Rebohle
1b77d58a2a
[dxgi] Fixed hardcoded swap chain format
2017-12-03 21:36:44 +01:00
Philip Rebohle
b5d068366d
[dxvk] Implemented shader resource binding
2017-12-03 20:23:26 +01:00
Philip Rebohle
a6bf7659b0
[dxvk] Refactored shader binding, client APIs must now create pipelines and pipeline layouts
2017-12-03 00:40:58 +01:00
Philip Rebohle
ac2d16599c
[d3d11] Implemented proper feature tests
2017-12-02 16:47:06 +01:00
Philip Rebohle
7de5a727ad
[dxgi] Added proper initialization of the swap chain back buffer
2017-12-02 11:46:25 +01:00
Philip Rebohle
4e39ef859b
[dxvk] More convenient command list assignment API
2017-12-01 10:08:49 +01:00
Philip Rebohle
0e5cae826f
[dxgi] DXVK swap chain creation plus some experimental Present code
2017-11-26 18:38:50 +01:00
Philip Rebohle
d04c17e1d8
[tests] Fixed refresh rate in D3D11 triangle test
2017-11-26 16:27:15 +01:00
Philip Rebohle
26e662e12c
[dxgi] Implemented SDL-backed DxgiSwapChain methods
2017-11-26 15:29:57 +01:00
Philip Rebohle
a47ebd6ed5
[dxvk] Proper blend state and viewport state setup
2017-11-20 15:35:29 +01:00
Philip Rebohle
a9a03fec69
[dxvk] DxvkShader creates a VkShaderModule again
2017-11-20 14:03:00 +01:00
Philip Rebohle
745466652c
[dxvk] Removed shader resource slots for now, needs work
2017-11-18 10:42:27 +01:00
Philip Rebohle
a84e2eabc2
[dxvk] Restructured state tracker again
2017-11-17 19:49:44 +01:00
Philip Rebohle
1bf05d3687
[spirv] Moved SPIR-V-specific stuff to separate directory
2017-10-18 10:36:47 +02:00
Philip Rebohle
72a87093c5
[dxvk] Moved some SPIR-V bits to separate directory
2017-10-18 09:50:30 +02:00
Philip Rebohle
77f38c33c4
[dxvk] Removed DxvkDevice::createShader method
2017-10-16 20:42:32 +02:00
Philip Rebohle
dd20e09708
[tests] Added DXBC compiler executable for testing purposes
2017-10-16 20:41:40 +02:00
Philip Rebohle
08f4fb82f9
[tests] Added D3D11 compute shader test stub
2017-10-15 21:38:28 +02:00
Philip Rebohle
2c3674190a
[dxvk] Implemented proper resource binding
2017-10-15 19:23:10 +02:00
Philip Rebohle
e433c01ad4
[dxvk] Some more work on shader resources and resource bindings
2017-10-15 17:56:06 +02:00
Philip Rebohle
94af8140d2
[dxvk] DxvkContext now supports clears and actual state tracking
2017-10-11 23:29:05 +02:00
Philip Rebohle
89a70b132d
[dxgi] Added DxgiSwapChain stub
2017-10-11 16:22:13 +02:00
Philip Rebohle
90c3e21c17
[tests] Added D3D11 test stub + install targets
2017-10-11 15:33:03 +02:00
Philip Rebohle
e7addc140b
[tests] Added DXGI test case
2017-10-11 03:09:27 +02:00
Philip Rebohle
2ee51ea4b2
[dxvk] Added debug tracing
2017-10-11 00:27:33 +02:00
Philip Rebohle
46845e60be
[dxvk] Re-implemented logger
2017-10-10 23:44:06 +02:00
Philip Rebohle
00e63d71a9
Initial commit
2017-10-10 23:32:13 +02:00