Vincent Lejeune
772706ca4c
Factorize rsx state
2016-07-07 21:38:57 +02:00
raven02
244f3dfb89
DX12: set the heap size based on available vram ( #1786 )
2016-06-19 11:01:11 +08:00
kd-11
3956b21cb7
vk/gl/dx12: Dynamic cb flush for vulkan; fix glsl/hlsl vertex shader generation for some games; dx12: ignore fbo textures during flip if no surface target is set ( #1766 )
...
* gl/vk/dx12: Fix vertex shader code generation for buggy games
dx12: revert vsh attribute changes
* vk: dynamically flush command buffers if we exceed available resources
* dx12: do not prepare flip texture if it has not been initialized
2016-06-11 16:24:27 +03:00
Nekotekina
266db1336d
The rest
2016-05-23 16:22:25 +03:00
Nekotekina
b85a68e8a1
Partial commit: RSX
2016-04-15 19:22:36 +03:00
Vincent Lejeune
ce072f25e2
d3d12: Move sampler DescriptorHeap selection in D3D12GSRender
...
Avoid sampler descriptor being stored on 2 heaps inside a single draw
call. Fix somes crashes.
2016-03-31 17:56:30 +02:00
Vincent Lejeune
a78ba8a271
d3d12: Remove depth conversion shader
...
It's actually not needed, raw depth data should be sampled as RGBA8.
2016-02-25 23:29:44 +01:00
Vincent Lejeune
263e5beb26
d3d12: Copy descriptors when reused instead of recreating them.
...
Thanks Matías N. Goldberg for the tip !
2016-02-25 23:29:43 +01:00
Vincent Lejeune
7ae680d9d1
d3d12: Avoid uploading constant buffer every draw call
2016-02-25 23:29:41 +01:00
Vincent Lejeune
9ef24509cb
d3d12: Use a shared root signature and add more slots
...
This allows for finer grained rebinding later.
2016-02-21 17:55:34 +01:00
Vincent Lejeune
4efa2266e6
rsx/common/d3d12: Use m_texture_dirty[i] to signal texture state change and avoid unecessary bind operation.
2016-02-08 17:35:50 +01:00
Vincent Lejeune
6384541345
d3d12: Store vertex attributes as SRV and disable Input_layout.
2016-01-26 23:13:29 +01:00
DHrpcs3
19ce0cdc09
rsx methods constants moved to rsx namespace
...
minor fix
2016-01-20 20:12:48 +03:00
DHrpcs3
7523d01e0f
Code style fixes #2
2016-01-20 16:39:06 +03:00
DHrpcs3
7972cb5bdc
Code style fixes #1
2016-01-20 16:23:25 +03:00
DHrpcs3
685d5d3ea3
Access violation handled by rsx::thread
...
gfxHandler -> rsx::g_access_violation_handler
2016-01-20 15:46:58 +03:00
Vincent Lejeune
3b4339c8e0
rsx: Use enum class for surface related regs
2016-01-15 23:44:27 +01:00
Vincent Lejeune
689dee9944
rsx/common/d3d12: Consider separate index range as a whole.
...
Fix Wolf of the Battlefield 3
2016-01-13 00:28:48 +01:00
Vincent Lejeune
e6bd681227
d3d12: factorize render_target code in a template class to be shared with others backends.
2016-01-11 20:47:01 +01:00
Vincent Lejeune
0c5cfdddba
d3d12: Gather constant and vtx/idx heap and turn readback heap to buffer
2016-01-11 20:46:58 +01:00
Vincent Lejeune
bab52c132d
rsx/common/d3d12/gl: Clean ProgramStateCache
...
Use a_b_c format.
Use using =
Use tuple as output
Use RAII to delete program safely
Ensure const correctness.
2016-01-11 19:21:57 +01:00
DHrpcs3
48919330d7
rsx methods moved from rsx thread
2016-01-06 13:30:24 +02:00
Vincent Lejeune
cae2d929ab
rsx/common/d3d12/gl: Implement draw inline array support
2016-01-05 00:31:47 +01:00
Vincent Lejeune
07f6896622
d3d12: Throw if program failed to build.
2016-01-03 21:51:33 +01:00
Vincent Lejeune
8417e21e8d
d3d12: Set command heap only when necessary.
2016-01-03 21:51:31 +01:00
Nekotekina
f2df9b469a
ThrowIfFailed replaced with CHECK_HRESULT macro
2015-12-20 15:41:11 +03:00
Nekotekina
aa811b6eef
Cleanup (noexcept, unreachable)
...
%x formatting fixes
2015-12-20 15:41:07 +03:00
Nekotekina
3465106456
Shared PCH (experimental)
...
"Rebuild" is broken though.
2015-12-04 23:37:44 +03:00
Nekotekina
ca6783ba9a
Threads improved, ID manager improved
2015-12-04 23:37:34 +03:00
Vincent Lejeune
0d2c4c24b4
d3d12: Use a single big buffer to store readback data
2015-11-25 17:54:58 +01:00
Nekotekina
4a669fd86e
DX12 dependencies fix
2015-11-17 21:00:59 +03:00
Nekotekina
5f6caf33f0
MINGW64: Compilation fix
2015-11-16 19:12:51 +03:00
Vincent Lejeune
570ca1c87f
d3d12: Use a_b_c style for D3D12GSRender.h members
2015-11-15 20:21:44 +01:00
Nekotekina
080e503954
Compilation fix
2015-11-14 20:26:41 +03:00
Vincent Lejeune
039e729881
d3d12: Fix scissor
2015-11-12 18:29:04 +01:00
Vincent Lejeune
917f08c534
d3d12: Fix depth range
2015-11-12 18:29:02 +01:00
Vincent Lejeune
e76abf875f
d3d12: Clean rtt related code
2015-11-07 22:52:12 +01:00
Vincent Lejeune
2ad7051746
rsx/d3d12: Move vertex constants filling code to RSXThread
2015-11-06 20:08:41 +01:00
Vincent Lejeune
c197b54774
d3d12: Rename D3D12GSRender function
...
Match a_b_c coding style.
2015-10-29 18:48:53 +01:00
Vincent Lejeune
124d0de325
d3d12: Move storage helpers to their dedicated files.
2015-10-29 18:48:52 +01:00
Vincent Lejeune
fdae12c52e
d3d12: Move empty texture slot filling code to D3D12Texture.
2015-10-29 18:48:52 +01:00
Vincent Lejeune
59c549ac86
d3d12: Clean D3D12GSRender
...
* Use anonymous namespace
* Use a_b_c code style
* Fix static analysis warning.
2015-10-29 18:48:51 +01:00
Vincent Lejeune
8f84fca0f2
d3d12: Fix some unintialised value warning.
2015-10-29 18:48:49 +01:00
Vincent Lejeune
119126c60c
d3d12: Move enum conversion to a separate files.
...
* Add noexcept
* Use unreachable
* Use a_b_c style
2015-10-29 18:48:48 +01:00
Vincent Lejeune
9f49232cac
d3d12: Avoid copying index data and use correct index range.
...
This fixes Braid.
2015-10-27 01:24:04 +01:00
Vincent Lejeune
fe902cbb13
d3d12: Use provided constants to set alignments
2015-10-27 01:24:03 +01:00
Vincent Lejeune
42f3296791
d3d12: Try to support undef vertex input
2015-10-27 01:24:02 +01:00
O1L
c0255208cc
Old ini-manager only partially used in VFS. Global configuration used as defualt.
2015-10-27 01:09:31 +04:00
Nekotekina
d4e0da3f80
DX12 fix + rpcs3-tests project
2015-10-21 13:31:29 +03:00
Vincent Lejeune
a462b4518c
d3d12: Move d3d12 files to separate solution.
...
It simplify solution configurations.
2015-10-17 04:15:58 +02:00