Triang3l
14b69fdb00
[GPU] vfetch_full fetching nothing still must calculate the address
2022-01-09 16:26:05 +03:00
Wunkolo
1a8068b151
[Base] Add user-literals for several memory sizes
...
Rather than using `n * 1024 * 1024`, this adds a convenient `_MiB`/`_KiB` user-literal to the new `literals.h` header to concisely describe units of memory in a much more readable way. Any other useful literals can be added to this header. These literals exist in the `xe::literals` namespace so they are opt-in, similar to `std::chrono` literals, and require a `using namespace xe::literals` statement to utilize it within the current scope.
I've done a pass through the codebase to replace trivial instances of `1024 * 1024 * ...` expressions being used but avoided anything that added additional casting complexity from `size_t` to `uint32_t` and such to keep this commit concise.
2022-01-02 11:51:31 -06:00
Dr. Chat
509a1fa386
[GPU] Fix a crash when GetWindowTitleText is called before the texture cache is initialized
2021-12-12 22:51:24 -06:00
Triang3l
9606ff2a31
[D3D12] Fix 8192 texture size storage
2021-12-12 16:27:49 +03:00
Triang3l
38b4741c8f
[GPU] Mostly generic, not square-only resolution scaling
2021-12-11 21:55:33 +03:00
Triang3l
fdec0ab332
[Code] Make union usage more consistent
2021-11-03 20:45:09 +03:00
Triang3l
b77e6eb8e6
[D3D12] Fix syntax warnings reported by Clang
2021-09-12 17:12:33 +03:00
Triang3l
e720e0a540
[Code] Remove game names from code comments (most of at least)
2021-09-05 21:27:40 +03:00
Triang3l
6ce5330f5f
[UI] Loop thread to main thread WindowedAppContext
2021-08-28 19:38:24 +03:00
Triang3l
3a2c7894d2
[D3D12] Remove unused D3D12RenderTargetCache ref from D3D12RenderTarget
2021-06-19 14:06:37 +03:00
Triang3l
8e83042bdf
[GPU] Fix host_depth_store_2xmsaa CS after 2x MSAA sample swap
2021-06-14 19:12:12 +03:00
Triang3l
357aa1cdd3
[GPU] Fix RT view and pipeline sRGB mismatch
2021-06-14 17:30:56 +03:00
Triang3l
50bb35b4b4
[GPU] Polygon offset scale factor in xenos.h
2021-06-09 20:46:24 +03:00
Triang3l
9e6aec4535
[D3D12] Tiny IssueDraw initialization cleanup
2021-06-09 20:23:02 +03:00
Triang3l
d00dd5a2bc
[GPU] Disable primitive reset for non-list types in primitive processor
2021-06-09 20:22:24 +03:00
Triang3l
70a3919f9f
[D3D12] Primitive processor frame_index_buffers_.clear() in shutdown for safety
2021-06-08 21:28:30 +03:00
Triang3l
796eb0f430
[D3D12] Update shader bytecode .h path in premake5.lua
2021-06-07 21:28:39 +03:00
Triang3l
89ddf6456a
[GPU] Disable 3D slice pitch assertion for non-3D textures
2021-06-07 16:40:45 +03:00
Triang3l
22ee200f3e
[GPU] Use polygon mode only for DualMode, not non-Disabled
2021-06-07 16:40:01 +03:00
Triang3l
3f156f26c4
[D3D12] Take 0 being bottom-right sample with 2x MSAA in D3D12 into account
2021-06-06 20:58:50 +03:00
Triang3l
dce6938827
[D3D12] ROV sample depth via ddxy(z), DSV depth bias cleanup
2021-06-06 18:27:43 +03:00
Triang3l
12a907bfa5
[GPU] Shaders to common, xb buildshaders instead of buildhlsl
2021-06-05 18:53:53 +03:00
Triang3l
3c20a83972
[Base] Float clamping cleanup
2021-06-05 14:55:55 +03:00
Triang3l
538aa91015
[GPU] Primitive processor with Vulkan 1.0 base cases, 24-bit indices and clamping
2021-06-04 23:57:46 +03:00
Triang3l
3a5752fcb6
[D3D12] Split the tessellation VS into indexed and adaptive
2021-05-16 18:27:41 +03:00
Triang3l
dd5ea87213
[GPU] Linear mip tail exact extent estimation
2021-05-15 18:19:26 +03:00
Triang3l
4eca2326c3
[GPU/D3D12] Support texture pitch, more precise texture extent/stride calculations
2021-05-13 23:02:11 +03:00
Triang3l
8f1f849a06
[D3D12] unordered_map instead of multimap in TextureCache
2021-05-05 21:40:00 +03:00
Triang3l
fb01ccaac6
[GPU] Viewport/clipping cleanup, don't clamp oDepth
2021-05-04 21:39:34 +03:00
Triang3l
bb55bb3e70
[D3D12] Make ROV the default RT path on Intel due to stencil
2021-04-28 20:53:07 +03:00
Triang3l
71fbfdb63e
[D3D12] Fix non-ROV clearing always giving 'failed in backend'
2021-04-28 17:27:57 +03:00
Triang3l
51c2c9e5f2
[D3D12] Fix render target reference leak
2021-04-27 19:55:29 +03:00
Triang3l
ec41dfc995
[D3D12] Fix bindless root signatures, ensure shaders are pre-translated
2021-04-27 18:29:23 +03:00
Triang3l
913e1e949c
[GPU] Ownership-transfer-based RT cache, 3x3 resolution scaling
...
The ROV path is also disabled by default because of lower performance
2021-04-26 22:12:09 +03:00
Triang3l
87442b106c
[D3D12] Fix signed-only texture descriptor creation
2021-02-13 23:22:03 +03:00
Triang3l
9009cba90a
[GPU] Refactor shader dumps - bin and txt files for both ucode and host
2020-12-25 21:46:07 +03:00
Triang3l
dcde08a493
[GPU] PS and rasterization disabling cleanup
2020-12-24 23:40:38 +03:00
Triang3l
e6fa0ad139
[GPU] Dynamic r# count via shader modifications + refactoring
2020-12-19 16:14:54 +03:00
Triang3l
da60649202
[D3D12] Fix texture_cache.cc formatting
2020-12-11 21:21:26 +03:00
Triang3l
040661f366
[D3D12] Fix a lint error in pipeline desc
2020-12-10 21:23:13 +03:00
Triang3l
9349cf4ff4
[D3D12] Fix custom sample position reset
2020-12-08 22:43:15 +03:00
Triang3l
b7216f91f7
[D3D12] Re-add forgotten RenderTargetCache::EndFrame call
2020-12-08 22:36:47 +03:00
Triang3l
36a0bcec8b
[GPU] XXH3 hash instead of XXH64
2020-12-08 22:31:09 +03:00
Triang3l
9a4643d0f2
[GPU] Non-ROV f24 trunc/round, host shader modifications, cache dir
2020-12-07 22:31:46 +03:00
Triang3l
e3a82e1930
[D3D12] Remove leftovers of old resolve code
2020-11-26 23:06:46 +03:00
Triang3l
00a7d1a067
[D3D12] Cleanup rasterizer state
2020-11-20 23:12:12 +03:00
Triang3l
44a3f200c3
[GPU] Rename PrimitiveTwoFaced to PrimitivePolygonal, add rects to it and ignore fill modes for non-polygons
2020-11-19 23:55:49 +03:00
Triang3l
99bb82fd1c
[GPU] Separate GetHostViewportInfo X and Y bounds
2020-11-18 12:27:36 +03:00
Triang3l
10d7bcde93
[GPU] Viewport in draw_util with host API flexibility
2020-11-16 23:03:42 +03:00
Triang3l
56a07c1773
[GPU] Scissor in draw_util
2020-11-15 16:34:23 +03:00