Fernando Sahmkow
ea522da8b5
Address Feedback.
6 years ago
Fernando Sahmkow
af9f901764
FenceManager: Manage syncpoints and rename fences to semaphores.
6 years ago
Fernando Sahmkow
6092308fe4
Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan.
6 years ago
Fernando Sahmkow
e7195b5f87
ThreadManager: Sync async reads on accurate gpu.
6 years ago
Fernando Sahmkow
802fabe3ab
OpenGL: Implement Fencing backend.
6 years ago
Fernando Sahmkow
c689dc6804
GPU: Refactor synchronization on Async GPU
6 years ago
Fernando Sahmkow
5cc292ac3c
GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddr
6 years ago
ReinUsesLisp
1f4e8db223
yuzu/loading_screen: Remove unused shader progress mode
6 years ago
ReinUsesLisp
005f5ca883
video_core: Reintroduce dirty flags infrastructure
6 years ago
ReinUsesLisp
518a6182f9
maxwell_3d: Unify draw methods
Pass instanced state of a draw invocation as an argument instead of
having two separate virtual methods.
6 years ago
ReinUsesLisp
d8a42816d7
gl_query_cache: Optimize query cache
Use a custom cache instead of relying on a ranged cache.
6 years ago
ReinUsesLisp
339a227a5e
gl_query_cache: Implement host queries using a deferred cache
Instead of waiting immediately for executed commands, defer the query
until the guest CPU reads it. This way we get closer to what the guest
program is doing.
To archive this we have to build a dependency queue, because host APIs
(like OpenGL and Vulkan) use ranged queries instead of counters like
NVN.
Waiting for queries implicitly uses fences and this requires a command
being queued, otherwise the driver will lock waiting until a timeout. To
fix this when there are no commands queued, we explicitly call glFlush.
6 years ago
ReinUsesLisp
11206f8a28
maxwell_3d: Slow implementation of passed samples (query 21)
Implements GL_SAMPLES_PASSED by waiting immediately for queries.
7 years ago
Fernando Sahmkow
c0c5fa078b
Shader_IR: Address Feedback
6 years ago
Fernando Sahmkow
5fb7881077
Shader_IR: Allow constant access of guest driver.
6 years ago
Fernando Sahmkow
e9f3264c8d
GPU: Implement guest driver profile and deduce texture handler sizes.
6 years ago
Fernando Sahmkow
d53d764965
Maxwell3D: Corrections and refactors to MME instance refactor
6 years ago
Fernando Sahmkow
ab61f800b6
Rasterizer: Refactor and simplify DrawBatch Interface.
6 years ago
Fernando Sahmkow
2b5f0e2616
Rasterizer: Refactor draw calls, remove deadcode and clean up.
6 years ago
Fernando Sahmkow
b61203a547
Video Core: initial Implementation of InstanceDraw Packaging
6 years ago
Rodrigo Locatti
598157a8c9
video_core: Silent miscellaneous warnings ( #2820 )
* texture_cache/surface_params: Remove unused local variable
* rasterizer_interface: Add missing documentation commentary
* maxwell_dma: Remove unused rasterizer reference
* video_core/gpu: Sort member declaration order to silent -Wreorder warning
* fermi_2d: Remove unused MemoryManager reference
* video_core: Silent unused variable warnings
* buffer_cache: Silent -Wreorder warnings
* kepler_memory: Remove unused MemoryManager reference
* gl_texture_cache: Add missing override
* buffer_cache: Add missing include
* shader/decode: Remove unused variables
6 years ago
Fernando Sahmkow
e82d641357
GPU: Flush commands on every dma pusher step.
This commit ensures that the host gpu is constantly fed with commands to
work with, while the guest gpu keeps producing the rest of the commands.
This reduces syncing time between host and guest gpu.
7 years ago
ReinUsesLisp
37a3fdc6c6
gl_rasterizer: Implement compute shaders
7 years ago
ReinUsesLisp
32b4a2e093
gl_buffer_cache: Implement with generic buffer cache
7 years ago
Fernando Sahmkow
10e30eb735
texture_cache: Query MemoryManager from the system
7 years ago
Fernando Sahmkow
bc8f3d4964
texture_cache: Fermi2D reform and implement View Mirage
This also does some fixes on compressed textures reinterpret and on the
Fermi2D engine in general.
7 years ago
Fernando Sahmkow
27e8636b3e
Change texture_cache chaching from GPUAddr to CacheAddr
This also reverses the changes to make invalidation and flushing through
the GPU address.
7 years ago
Fernando Sahmkow
e8ac8ab2f5
Deglobalize Memory Manager on texture cahe and Implement Invalidation and Flushing using GPUVAddr
7 years ago
bunnei
fa405371ee
gpu: Rewrite virtual memory manager using PageTable.
7 years ago
bunnei
7fccfc3ee7
gpu: Use host address for caching instead of guest address.
7 years ago
Lioncash
e59ae7210a
common/math_util: Move contents into the Common namespace
These types are within the common library, so they should be within the
Common namespace.
7 years ago
bunnei
4e28975608
gl_rasterizer: Implement a more accurate fermi 2D copy.
- This is a blit, use the blit registers.
7 years ago
ReinUsesLisp
f1e717fbee
gl_shader_cache: Link loading screen with disk shader cache load
7 years ago
ReinUsesLisp
5bed286abf
rasterizer_interface: Add disk cache entry for the rasterizer
7 years ago
ReinUsesLisp
14098c39af
rasterizer_interface: Remove unused AccelerateFill operation
7 years ago
James Rowe
059ece9d03
Rename step 1 and step 2 to be a little more descriptive
7 years ago
James Rowe
a923e54655
QT: Upgrade the Loading Bar to look much better
7 years ago
bunnei
6a6aa35a70
gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies.
7 years ago
Markus Wick
f84b102dfb
rasterizer: Drop unused handler.
This virtual function is called in a very hot spot, and it does nothing.
If this kind of feature is required, please be more specific and add callbacks
in the switch statement within Maxwell3D::WriteReg. There is no point in having
another switch statement within the rasterizer.
7 years ago
bunnei
d190b46a38
gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.
7 years ago
bunnei
3a96e40e8a
gl_rasterizer: Fix issues with the rasterizer cache.
- Use a single cached page map.
- Fix calculation of ending page.
7 years ago
Lioncash
03cb9b116d
rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signature
This is an OpenGL renderer-specific data type. Given that, this type
shouldn't be used within the base interface for the rasterizer. Instead,
we can pass this information to the rasterizer via reference.
7 years ago
Subv
fd4699c84f
GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to.
8 years ago
bunnei
bd86248eae
gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers.
8 years ago
bunnei
31748079de
gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.
8 years ago
bunnei
4d9c441bef
renderer_opengl: Implement BlendEquation and BlendFunc.
8 years ago
N00byKing
63b5de9c40
rasterizer_interface.h: Update from citra to yuzu
8 years ago
bunnei
b601155fb0
rasterizer: Rename DrawTriangles to DrawArrays.
8 years ago
bunnei
6131f96f6a
rasterizer: Flush and invalidate regions should be 64-bit.
8 years ago
bunnei
4e4e999c4a
video_core: Remove usage of PAddr and replace with VAddr.
8 years ago