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
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
1675a82efd
rsx/common/d3d12/gl: Use gsl::span in TextureUtils.cpp
...
* get_placed_texture_storage_size returns more accurate result (fix crash in Outrun)
* Factors lot of code and use integer type more carrefully
* Treat warning as error in TextureUtils.cpp
2016-02-16 18:08:22 +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
5f35f2ac7d
rsx/common/d3d12: Support for texture 1d too.
...
They are used in after burner climax
2016-01-30 01:13:15 +01:00
Vincent Lejeune
6d70f3c237
d3d12: Compare mipmap/depth count when checking texture compatibility.
...
d3d12: Check for depth in texture cache.
Fix Resogun crash when loading a level.
2016-01-26 23:13:30 +01:00
Vincent Lejeune
3c3f92f29b
rsx/common/d3d12: Support 3d textures
2016-01-26 17:56:02 +01:00
DHrpcs3
7523d01e0f
Code style fixes #2
2016-01-20 16:39:06 +03: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
8417e21e8d
d3d12: Set command heap only when necessary.
2016-01-03 21:51:31 +01:00
Vincent Lejeune
c4b3b967d9
d3d12: Fix warnings andnable warnings as errors.
2015-12-23 22:26:23 +01:00
Vincent Lejeune
b41fcf3734
d3d12: name rtts/ds/texture for debugging purpose
2015-12-23 22:26:22 +01:00
Vincent Lejeune
9c6539ea2d
rsx/common/d3d12: Force depth to be at least 1.
2015-12-23 22:26:18 +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
Vincent Lejeune
27807f3a61
d3d12: D8R8G8B8 and A8R8G8B8 are essentially the same.
2015-12-16 20:36:39 +01:00
Vincent Lejeune
fcf7751008
d3d12: Fix handling of disabled texture
...
Fix After Burner Climax textures.
2015-12-16 20:36:38 +01:00
Vincent Lejeune
6221fecf3b
common/d3d12/gl: Start implementing cubemap sampling
2015-12-16 20:36:34 +01:00
Nekotekina
3465106456
Shared PCH (experimental)
...
"Rebuild" is broken though.
2015-12-04 23:37:44 +03:00
Vincent Lejeune
432bca26ae
d3d12: Add support for reading depth texture
2015-11-16 23:32:34 +01: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
Vincent Lejeune
e76abf875f
d3d12: Clean rtt related code
2015-11-07 22:52:12 +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
42467ba40f
RSX/common: Clean TextureUtils code.
...
* Use a_b_c code style
* Add noexcept
* Use anonymous namespace
2015-10-29 18:48:50 +01:00
Vincent Lejeune
0e3ab35e32
d3d12: Fix sampler border color
2015-10-29 18:48:48 +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
fe902cbb13
d3d12: Use provided constants to set alignments
2015-10-27 01:24:03 +01: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
Vincent Lejeune
0e98da2306
d3d12: Make descriptor heap a little more compact.
2015-10-15 17:13:40 +02:00
DH
3721941ffb
Fixed OpenGL renderer crash
...
Temporary downgraded OpenGL requirements to OpenGL 3.1 (GLSL 1.40)
Fixed some D3D12 Renderer compilation errors
2015-10-05 18:40:22 +03:00
DH
4fdeeace66
D3D12Renderer: fixed some compilation errors
...
Removed GSFrameBase2 and D3DGSFrame.
Added frame for NullRender.
Minor improvements and fixes
2015-10-05 13:03:23 +03:00
Vincent Lejeune
8d986e77d1
d3d12: Reuse texture resources
2015-10-05 00:24:55 +02:00
Vincent Lejeune
3d643fbc0b
d3d12: Factorise texture cache management.
2015-10-05 00:24:55 +02:00
Vincent Lejeune
62d7bf2159
Common: Move generic upload texture code from d3d12
2015-10-03 18:25:18 +02:00
Vincent Lejeune
07e13b8613
d3d12: Suballocate from big buffer for texture upload too
2015-10-03 18:25:17 +02:00
Vincent Lejeune
8e83ad7b65
d3d12: Fix sampler descriptor stride in UploadTextures.
2015-10-03 18:25:16 +02:00
Vincent Lejeune
23bd197bd4
d3d12: clean code
2015-09-25 22:35:19 +02:00
Vincent Lejeune
f10c812301
d3d12: Use d3dx12.h defined struct.
2015-09-25 22:34:34 +02:00
Vincent Lejeune
c31c0c40a4
d3d12: Fix ARGB8 swizzle and support swizzling of rtts
...
Fix harem tengoku colors.
2015-09-18 22:36:21 +02:00
Vincent Lejeune
63a54dd70d
d3d12: Rewrite per frame resource cleaning function.
2015-08-16 23:45:51 +03:00
Vincent Lejeune
09cc127dd9
d3d12: Use ComPtr<> instead of manually releasing some structures
2015-08-14 23:39:37 +02:00
Vincent Lejeune
9cb88b3a8d
d3d12: Use ThrowIfFailed instead of check to be inline with DX12 Samples
2015-08-14 23:39:37 +02:00
Vincent Lejeune
befe93784f
d3d12: Do not create/submit an extra command list for texture upload/rtt state change
2015-08-14 21:23:30 +02:00
Vincent Lejeune
abee3539b8
d3d12: Fix non dx12 build config
2015-08-14 00:29:22 +02:00
vlj
38a809b483
d3d12: Use another sampler heap when using more than 2048 samplers
2015-08-12 00:28:34 +02:00
vlj
ff219c6035
d3d12: Factorise sampler desc creation in a separate function
2015-08-12 00:28:30 +02:00