Commit Graph

1776 Commits

Author SHA1 Message Date
Triang3l
e7cd2ffffa [GPU] Clamp scissor to surface_pitch 2020-12-29 11:15:05 +03:00
Triang3l
56d802c323 [GPU] Slightly better shader_compiler_main variable name 2020-12-28 22:09:28 +03:00
Joel Linn
7943702618 Fix rvalue being passed as a reference. 2020-12-28 22:07:00 +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
2bc0113dae [GPU] Add missing override specifier to SPIR-V shader translator 2020-12-25 21:11:43 +03:00
Triang3l
dcde08a493 [GPU] PS and rasterization disabling cleanup 2020-12-24 23:40:38 +03:00
Triang3l
733efa5ff8 [GPU] Add a missing default label to GatherAluResultInformation 2020-12-22 22:29:00 +03:00
Triang3l
c7fbe0e6d5 [GPU] Scale gradients by SSAA factor 2020-12-20 16:35:15 +03:00
Triang3l
e6fa0ad139 [GPU] Dynamic r# count via shader modifications + refactoring 2020-12-19 16:14:54 +03:00
Triang3l
b106aa88e6 [GPU] Complete some register bitfield declarations 2020-12-12 20:01:41 +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
34c5fc9c2f [DXBC] ROV: Update a todo comment about early Z 2020-12-10 12:41:29 +03:00
Triang3l
8bcfcf6452 [GPU] Update v_mad_legacy_f32 comment 2020-12-10 12:39:02 +03:00
Triang3l
bc0c2040e2 [DXBC] ROV: Force late Z write with kill instructions 2020-12-10 12:36:37 +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
cadc31c93f [GPU] Fix uninitialized viewport_top when drawing without a viewport 2020-12-06 15:55:28 +03:00
Triang3l
e3a82e1930 [D3D12] Remove leftovers of old resolve code 2020-11-26 23:06:46 +03:00
Joel Linn
923678dad7 [GPU] Add performance counter registers.
v3: Document registers referenced by D3D in `gpu.md`.
2020-11-21 21:55:52 +03:00
Joel Linn
f6dc9ad517 [GPU] Skip viz-query geometry (if marked).
Document research about viz queries.

v2: Remove viz status unions and move comments to register definitions.
    Add contributors to TODOs.

v3: Comment out unused variables.
    Add TODO for correctly dropping draw calls with memexport.
    Register comment formatting.
2020-11-21 21:55:52 +03:00
Triang3l
b06138b464 [GPU] Disable faceness for rectangles temporarily 2020-11-21 21:52:17 +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
Sandy Carter
382dd8860f [threading] Change thread names to suit pthread
Shorten names to 16.
Rename Win32 to Windowing.
Shorten GraphicsSystem thread names due to 16 length limit of pthread.
Without this change, both show up as GraphicsSystem.
Remove redundant "Worker" and "Thread" from names.
Remove redundant thread handle from thread name.
2020-11-15 11:12:05 -06:00
Triang3l
56a07c1773 [GPU] Scissor in draw_util 2020-11-15 16:34:23 +03:00
Joel Linn
8b1ebe1130 Premake: Reorder links to speed up building.
- Re-enable LTO on clang.
- Set AR on travis so it builds with LTO.
2020-11-14 13:30:06 -06:00
Triang3l
fe9b5b4a8f [D3D12] Cleanup: remove inline 2020-11-14 17:02:09 +03:00
Triang3l
6b988d43c7 [D3D12] Cleanup: pipeline state -> pipeline, other things 2020-11-14 16:43:18 +03:00
Gliniak
87a3c5fac2 [GPU] Added Stub for Packet: PM4_WAIT_FOR_IDLE 2020-11-10 22:48:00 +03:00
Triang3l
6ac4d3e0c9 [DXBC] Fix texture binding reference use-after-grow 2020-11-06 13:00:22 +03:00
Triang3l
ae3b68c7b6 [DXBC] Fast mul path only for fully identical components because neg is post-abs 2020-10-30 22:31:30 +03:00
Triang3l
feb8258a5e [DXBC] Multiplication signed zero handling 2020-10-30 22:14:38 +03:00
Triang3l
9bbe4365d1 [GPU] Fix adaptive quad tessellation inside factors 2020-10-27 21:01:55 +03:00
Triang3l
445d78452f [DXBC] Pop aL on loop end 2020-10-25 19:50:24 +03:00
Triang3l
ca9086f3ba [GPU] Add a comment about non-positive tessellation factors 2020-10-19 23:02:20 +03:00
Triang3l
9081046e7b [D3D12] Remove SRV[unbounded] and UAV overlap in bindless root sig 2020-10-18 22:09:08 +03:00
Triang3l
fd18a97f3a [GPU] Shaders: Make label_addresses accessible to translators 2020-10-14 21:19:33 +03:00
Triang3l
7e9e37bd09 [DXBC] Remove dxbc_source_map cvar export 2020-10-08 23:08:40 +03:00
Triang3l
81bc33523a [GPU] Remove unused FinalizeTrace 2020-10-08 21:37:29 +03:00
Triang3l
603150af64 [D3D12] Minor shared memory cleanup 2020-10-07 23:16:15 +03:00
Triang3l
b91c24870b [D3D12] Remove await result check in trace init - unsafe too, but not leaking 2020-10-06 22:35:43 +03:00
Triang3l
19121130a3 [GPU] SharedMemory: common sparse memory allocation 2020-10-06 21:32:44 +03:00
Triang3l
75bf2d3c7d [D3D12] Minor deferred command list refactoring 2020-10-04 21:53:52 +03:00
Triang3l
81ee7b4c39 [D3D12] Minor FINE_GRAINED_DRAW_SCOPES refactoring 2020-10-04 21:49:10 +03:00
Triang3l
e0916be5cd [D3D12] Remove SHM EnsureTilesResident declaration 2020-10-03 16:15:25 +03:00