Commit graph

5535 commits

Author SHA1 Message Date
Triang3l
da1be211eb [D3D12] Add red/blue swap to EDRAM loads and describe resolve modes 2018-08-21 22:04:06 +03:00
Triang3l
d628e92ff5 [D3D12] Resolve target dimensions 2018-08-20 19:09:04 +03:00
Triang3l
f9fdcbb2dc [D3D12] Resolve dimension calculation 2018-08-20 17:58:20 +03:00
Triang3l
153c6bf713 [D3D12] Refactor EDRAM load/store pipelines into modes 2018-08-19 21:11:16 +03:00
Triang3l
1a4fc3bde2
[GPU] Add texture signedness enumeration
For sign_x, sign_y, sign_z and sign_w fields of xe_gpu_texture_fetch_t.
2018-08-19 15:25:20 +03:00
Triang3l
e3a50a207d [D3D12] SHM functions needed for resolves 2018-08-18 22:43:02 +03:00
Triang3l
36cc19017a [D3D12] HLSL compilation fixes (still can't map one Halo 3 shader to vs_5_1) 2018-08-18 21:53:14 +03:00
Triang3l
7ba2526fa8 [D3D12] Move interpolators above position because it's more important for pixel shaders 2018-08-18 18:47:13 +03:00
Triang3l
bd868ae6cc [D3D12] Fix a typo in linear texture address calculation 2018-08-18 18:37:20 +03:00
Triang3l
b0dd9b6fd0 [D3D12] Shutdown immediate textures in the destructor 2018-08-18 15:25:30 +03:00
Triang3l
bfb781d293 [D3D12] Texture invalidation (incomplete) 2018-08-18 15:24:02 +03:00
Triang3l
9e21f5ab67 [D3D12] SHM watch creation 2018-08-18 00:16:55 +03:00
Triang3l
005040e885 [D3D12] Shared memory watch structures 2018-08-17 21:41:18 +03:00
Triang3l
e6ec390a04 [D3D12] Profile UpdateRenderTargets 2018-08-17 17:53:01 +03:00
Triang3l
8d6b75418d [D3D12] Clear present back buffer, more profiling scopes, remove logging in shared memory 2018-08-17 17:35:33 +03:00
Triang3l
bf0f20df9b [D3D12] Immediate drawer 2018-08-17 16:55:31 +03:00
Triang3l
e572f65d11 [D3D12] DXT5A swizzle 2018-08-16 17:36:03 +03:00
Triang3l
ed7f4ec4be [D3D12] Fix a typo in HLSL sqrt 2018-08-16 16:19:45 +03:00
Triang3l
14523145a2 [D3D12] ps_param_gen in HLSL 2018-08-16 15:53:55 +03:00
Triang3l
bb518407a2 [D3D12] Disable blending if it's 1*S+0*D 2018-08-16 14:16:56 +03:00
Triang3l
7ced7c932c [D3D12] Fix a typo in a blending register name 2018-08-16 14:02:53 +03:00
Triang3l
d94ebaf580 [D3D12] HLSL alphatest 2018-08-16 13:44:48 +03:00
Triang3l
8d2bfd4b88 [D3D12] Fix 16.16.16.16 vertex fetch 2018-08-16 12:20:27 +03:00
Triang3l
c547851626 [D3D12] Upload data to shared memory during frame (fixes swaying palms in CoD4) 2018-08-16 12:07:53 +03:00
Triang3l
1cec143810 [D3D12] DXT3A textures 2018-08-15 16:59:43 +03:00
Triang3l
428095f62a [D3D12] CTX1 texture loading shader 2018-08-15 16:27:13 +03:00
Triang3l
17fb60a97a [D3D12] Rectangle list geometry shader and viewport fixes 2018-08-14 17:21:18 +03:00
Triang3l
1200eaae24 [GPU/D3D12] Correct EDRAM texture format names 2018-08-13 19:50:38 +03:00
Triang3l
24c3bac898 [D3D12] Fix cubemap coordinates 2018-08-13 00:30:20 +03:00
Triang3l
01a3bc32f7 [D3D12] More texture formats, rename blend map 2018-08-12 22:58:45 +03:00
Triang3l
34a1846859 [D3D12] 3D and cube texture HLSL compilation fixes 2018-08-12 21:12:34 +03:00
Triang3l
ebc5911634 [D3D12] Samplers and fix blending not enabled 2018-08-12 21:03:57 +03:00
Triang3l
de70451ac8 [D3D12] Partially implement tfetch in HLSL 2018-08-12 19:37:03 +03:00
Triang3l
b0993fa3f0 [D3D12] Tiny HLSL control flow cleanup 2018-08-12 01:15:38 +03:00
Triang3l
0900036795 [D3D12] HLSL control flow fixes (still broken) 2018-08-12 01:08:19 +03:00
Triang3l
ede9055ca5 [D3D12] Fix RT formats and log their creation 2018-08-12 00:18:15 +03:00
Triang3l
19401f03d0 [D3D12] EDRAM load, fix EDRAM depth encoding 2018-08-11 23:39:27 +03:00
Triang3l
c7da5f0572 [D3D12] Count dirty RT rows rather than tiles 2018-08-11 21:04:14 +03:00
Triang3l
9b303c64ba [D3D12] EDRAM storing and random cleanup 2018-08-11 20:33:33 +03:00
Triang3l
a4b98cda31 [D3D12] Add a missing component count to HLSL vfetch 2018-08-10 22:34:42 +03:00
Triang3l
e5eb6636a7 [D3D12] Add a missing new line to the shader translator 2018-08-10 19:21:18 +03:00
Triang3l
fe5ec61b51 [D3D12] Render target allocation fixes 2018-08-10 19:11:03 +03:00
Triang3l
6b9717c7f7 [D3D12] Fix retarded render target allocation bugs 2018-08-10 18:44:38 +03:00
Triang3l
952bb91c3f [D3D12] Render target binding 2018-08-10 18:06:21 +03:00
Triang3l
c0c0ca263d [D3D12] Overlap detection when adding RTs 2018-08-08 20:04:17 +03:00
Triang3l
46dc640209 [D3D12] Ignore draws not writing to depth and fix a typo 2018-08-07 22:59:18 +03:00
Triang3l
52a1a80200 [D3D12] Rough outline of render target architecture 2018-08-07 22:40:24 +03:00
Triang3l
83cf482a50 [D3D12] 32bpb and 128bpb untiling, fix 3D tiled offset 2018-08-06 23:31:09 +03:00
Triang3l
cfd3821b83 [D3D12] DXT1 untiling 2018-08-06 20:10:53 +03:00
Triang3l
265d6eb9df [D3D12] Fix texture size calculation and add texture creation logging 2018-08-05 18:45:57 +03:00