Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-12-20 | gl_rasterizer: Implement DrawTransformFeedback macro | Ameer J | 1 | -0/+8 | |
2023-12-18 | Revert "video_core: use interval map for page count tracking" | liamwhite | 1 | -1/+1 | |
2023-12-15 | video_core: use interval map for page count tracking | Liam | 1 | -1/+1 | |
2023-09-23 | Query Cache: address issues | Fernando Sahmkow | 1 | -2/+3 | |
2023-09-23 | Query Cachge: Fully rework Vulkan's query cache | Fernando Sahmkow | 1 | -8/+4 | |
2023-06-28 | Memory Tracking: Optimize tracking to only use atomic writes when contested with the host GPU | Fernando Sahmkow | 1 | -1/+3 | |
2023-05-07 | GPU: Add Reactive flushing | Fernando Sahmkow | 1 | -0/+3 | |
2023-01-05 | BufferBase: Don't ignore GPU pages. | Fernando Sahmkow | 1 | -1/+1 | |
2023-01-05 | video_core: Cache GPU internal writes. | Fernando Sahmkow | 1 | -0/+7 | |
2023-01-05 | video_core: Implement opengl/vulkan draw_texture | Feng Chen | 1 | -0/+3 | |
2023-01-01 | Rasterizer: Setup skeleton for Host Conditional rendering | Fernando Sahmkow | 1 | -0/+4 | |
2023-01-01 | RasterizerMemory: Add filtering for flushing/invalidation operations. | Fernando Sahmkow | 1 | -4/+9 | |
2023-01-01 | MacroHLE: Implement DrawIndexedIndirect & DrawArraysIndirect. | Fernando Sahmkow | 1 | -1/+1 | |
2023-01-01 | MacroHLE: Add MultidrawIndirect HLE Macro. | Fernando Sahmkow | 1 | -0/+3 | |
2022-11-23 | general: fix compile for Apple Clang | Liam | 1 | -1/+1 | |
2022-11-17 | maxwell3d: full HLE for multi-layer clears | Liam | 1 | -1/+1 | |
2022-10-21 | video_coare: Reimplementing the maxwell drawing trigger mechanism | FengChen | 1 | -1/+1 | |
2022-10-06 | DMA & InlineToMemory Engines Rework. | bunnei | 1 | -1/+1 | |
2022-10-06 | VideoCore: Refactor fencing system. | Fernando Sahmkow | 1 | -2/+5 | |
2022-10-06 | Texture cache: Fix the remaining issues with memory mnagement and unmapping. | Fernando Sahmkow | 1 | -1/+1 | |
2022-10-06 | VideoCore: implement channels on gpu caches. | Fernando Sahmkow | 1 | -0/+9 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -3/+2 | |
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | |||||
2022-02-01 | Rasterizer: Refactor inlineToMemory. | Fernando Sahmkow | 1 | -2/+2 | |
2022-01-29 | Rasterizer: Implement Inline2Memory Acceleration. | Fernando Sahmkow | 1 | -0/+3 | |
2021-07-23 | shader: Remove old shader management | ReinUsesLisp | 1 | -15/+1 | |
2021-07-12 | accelerateDMA: Fixes and feedback. | Fernando Sahmkow | 1 | -1/+3 | |
2021-07-11 | accelerateDMA: Accelerate Buffer Copies. | Fernando Sahmkow | 1 | -0/+3 | |
2021-07-09 | Fence Manager: Add fences on Reference Count. | Fernando Sahmkow | 1 | -0/+3 | |
2021-07-04 | Texture Cache: Address feedback. | Fernando Sahmkow | 1 | -1/+1 | |
2021-07-04 | Texture Cache: Initial Implementation of Sparse Textures. | Fernando Sahmkow | 1 | -0/+3 | |
2021-06-22 | bootmanager: Use std::stop_source for stopping emulation | ReinUsesLisp | 1 | -2/+2 | |
Use its std::stop_token to abort shader cache loading. Using std::stop_token instead of std::atomic_bool allows the usage of other utilities like std::stop_callback. | |||||
2021-06-01 | buffer_cache: Simplify uniform disabling logic | ameerj | 1 | -0/+3 | |
2021-02-13 | video_core: Reimplement the buffer cache | ReinUsesLisp | 1 | -0/+5 | |
Reimplement the buffer cache using cached bindings and page level granularity for modification tracking. This also drops the usage of shared pointers and virtual functions from the cache. - Bindings are cached, allowing to skip work when the game changes few bits between draws. - OpenGL Assembly shaders no longer copy when a region has been modified from the GPU to emulate constant buffers, instead GL_EXT_memory_object is used to alias sub-buffers within the same allocation. - OpenGL Assembly shaders stream constant buffer data using glProgramBufferParametersIuivNV, from NV_parameter_buffer_object. In theory this should save one hash table resolve inside the driver compared to glBufferSubData. - A new OpenGL stream buffer is implemented based on fences for drivers that are not Nvidia's proprietary, due to their low performance on partial glBufferSubData calls synchronized with 3D rendering (that some games use a lot). - Most optimizations are shared between APIs now, allowing Vulkan to cache more bindings than before, skipping unnecesarry work. This commit adds the necessary infrastructure to use Vulkan object from OpenGL. Overall, it improves performance and fixes some bugs present on the old cache. There are still some edge cases hit by some games that harm performance on some vendors, this are planned to be fixed in later commits. | |||||
2020-12-30 | video_core: Rewrite the texture cache | ReinUsesLisp | 1 | -2/+10 | |
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues. | |||||
2020-11-17 | rasterizer_interface: Make use of [[nodiscard]] where applicable | Lioncash | 1 | -8/+9 | |
2020-09-06 | video_core: Remove all Core::System references in renderer | ReinUsesLisp | 1 | -5/+2 | |
Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend. | |||||
2020-04-28 | {maxwell_3d,buffer_cache}: Implement memory barriers using 3D registers | ReinUsesLisp | 1 | -0/+3 | |
Drop MemoryBarrier from the buffer cache and use Maxwell3D's register WaitForIdle. To implement this on OpenGL we just call glMemoryBarrier with the necessary bits. Vulkan lacks this synchronization primitive, so we set an event and immediately wait for it. This is not a pretty solution, but it's what Vulkan can do without submitting the current command buffer to the queue (which ends up being more expensive on the CPU). | |||||
2020-04-22 | Address Feedback. | Fernando Sahmkow | 1 | -0/+1 | |
2020-04-22 | FenceManager: Manage syncpoints and rename fences to semaphores. | Fernando Sahmkow | 1 | -2/+5 | |
2020-04-22 | Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan. | Fernando Sahmkow | 1 | -2/+4 | |
2020-04-22 | ThreadManager: Sync async reads on accurate gpu. | Fernando Sahmkow | 1 | -6/+4 | |
2020-04-22 | OpenGL: Implement Fencing backend. | Fernando Sahmkow | 1 | -0/+8 | |
2020-04-22 | GPU: Refactor synchronization on Async GPU | Fernando Sahmkow | 1 | -0/+6 | |
2020-04-06 | GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddr | Fernando Sahmkow | 1 | -3/+3 | |
2020-03-09 | yuzu/loading_screen: Remove unused shader progress mode | ReinUsesLisp | 1 | -1/+0 | |
2020-02-28 | video_core: Reintroduce dirty flags infrastructure | ReinUsesLisp | 1 | -0/+3 | |
2020-02-14 | maxwell_3d: Unify draw methods | ReinUsesLisp | 1 | -5/+2 | |
Pass instanced state of a draw invocation as an argument instead of having two separate virtual methods. | |||||
2020-02-14 | gl_query_cache: Optimize query cache | ReinUsesLisp | 1 | -1/+2 | |
Use a custom cache instead of relying on a ranged cache. | |||||
2020-02-14 | gl_query_cache: Implement host queries using a deferred cache | ReinUsesLisp | 1 | -2/+3 | |
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. | |||||
2020-02-14 | maxwell_3d: Slow implementation of passed samples (query 21) | ReinUsesLisp | 1 | -0/+10 | |
Implements GL_SAMPLES_PASSED by waiting immediately for queries. | |||||
2020-01-24 | Shader_IR: Address Feedback | Fernando Sahmkow | 1 | -0/+2 | |
2020-01-24 | Shader_IR: Allow constant access of guest driver. | Fernando Sahmkow | 1 | -0/+4 | |
2020-01-24 | GPU: Implement guest driver profile and deduce texture handler sizes. | Fernando Sahmkow | 1 | -0/+8 | |
2019-09-22 | Maxwell3D: Corrections and refactors to MME instance refactor | Fernando Sahmkow | 1 | -1/+1 | |
2019-09-19 | Rasterizer: Refactor and simplify DrawBatch Interface. | Fernando Sahmkow | 1 | -10/+2 | |
2019-09-19 | Rasterizer: Refactor draw calls, remove deadcode and clean up. | Fernando Sahmkow | 1 | -1/+1 | |
2019-09-19 | Video Core: initial Implementation of InstanceDraw Packaging | Fernando Sahmkow | 1 | -0/+7 | |
2019-08-30 | video_core: Silent miscellaneous warnings (#2820) | Rodrigo Locatti | 1 | -1/+1 | |
* 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 | |||||
2019-07-26 | GPU: Flush commands on every dma pusher step. | Fernando Sahmkow | 1 | -0/+3 | |
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. | |||||
2019-07-15 | gl_rasterizer: Implement compute shaders | ReinUsesLisp | 1 | -0/+3 | |
2019-07-06 | gl_buffer_cache: Implement with generic buffer cache | ReinUsesLisp | 1 | -0/+3 | |
2019-06-25 | texture_cache: Query MemoryManager from the system | Fernando Sahmkow | 1 | -2/+0 | |
2019-06-21 | texture_cache: Fermi2D reform and implement View Mirage | Fernando Sahmkow | 1 | -2/+1 | |
This also does some fixes on compressed textures reinterpret and on the Fermi2D engine in general. | |||||
2019-06-21 | Change texture_cache chaching from GPUAddr to CacheAddr | Fernando Sahmkow | 1 | -4/+0 | |
This also reverses the changes to make invalidation and flushing through the GPU address. | |||||
2019-06-21 | Deglobalize Memory Manager on texture cahe and Implement Invalidation and Flushing using GPUVAddr | Fernando Sahmkow | 1 | -0/+10 | |
2019-03-21 | gpu: Rewrite virtual memory manager using PageTable. | bunnei | 1 | -1/+0 | |
2019-03-15 | gpu: Use host address for caching instead of guest address. | bunnei | 1 | -4/+4 | |
2019-02-27 | common/math_util: Move contents into the Common namespace | Lioncash | 1 | -2/+2 | |
These types are within the common library, so they should be within the Common namespace. | |||||
2019-02-07 | gl_rasterizer: Implement a more accurate fermi 2D copy. | bunnei | 1 | -1/+3 | |
- This is a blit, use the blit registers. | |||||
2019-02-07 | gl_shader_cache: Link loading screen with disk shader cache load | ReinUsesLisp | 1 | -1/+3 | |
2019-02-07 | rasterizer_interface: Add disk cache entry for the rasterizer | ReinUsesLisp | 1 | -0/+3 | |
2019-02-01 | rasterizer_interface: Remove unused AccelerateFill operation | ReinUsesLisp | 1 | -5/+0 | |
2019-01-21 | Rename step 1 and step 2 to be a little more descriptive | James Rowe | 1 | -2/+2 | |
2019-01-20 | QT: Upgrade the Loading Bar to look much better | James Rowe | 1 | -0/+9 | |
2018-10-06 | gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies. | bunnei | 1 | -7/+4 | |
2018-09-10 | rasterizer: Drop unused handler. | Markus Wick | 1 | -3/+0 | |
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. | |||||
2018-08-31 | gl_renderer: Cache textures, framebuffers, and shaders based on CPU address. | bunnei | 1 | -3/+3 | |
2018-08-31 | gl_rasterizer: Fix issues with the rasterizer cache. | bunnei | 1 | -0/+3 | |
- Use a single cached page map. - Fix calculation of ending page. | |||||
2018-08-21 | rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signature | Lioncash | 1 | -3/+1 | |
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. | |||||
2018-07-03 | GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to. | Subv | 1 | -0/+3 | |
2018-06-27 | gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers. | bunnei | 1 | -3/+2 | |
2018-04-25 | gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. | bunnei | 1 | -3/+4 | |
2018-04-18 | renderer_opengl: Implement BlendEquation and BlendFunc. | bunnei | 1 | -1/+1 | |
2018-04-04 | rasterizer_interface.h: Update from citra to yuzu | N00byKing | 1 | -3/+3 | |
2018-03-27 | rasterizer: Rename DrawTriangles to DrawArrays. | bunnei | 1 | -2/+2 | |
2018-03-23 | rasterizer: Flush and invalidate regions should be 64-bit. | bunnei | 1 | -3/+3 | |
2018-03-23 | video_core: Remove usage of PAddr and replace with VAddr. | bunnei | 1 | -4/+4 | |
2018-03-23 | video_core: Move FramebufferInfo to FramebufferConfig in GPU. | bunnei | 1 | -1/+3 | |
2018-03-20 | renderer_gl: Port boilerplate rasterizer code over from Citra. | bunnei | 1 | -0/+61 | |
2018-01-13 | Remove references to PICA and rasterizers in video_core | James Rowe | 1 | -67/+0 | |
2018-01-01 | core/video_core: Fix a bunch of u64 -> u32 warnings. | bunnei | 1 | -2/+2 | |
2016-09-29 | rasterizer: separate TextureCopy from DisplayTransfer | wwylele | 1 | -1/+6 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -1/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -2/+1 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -6/+15 | |
2016-04-21 | HWRasterizer: Texture forwarding | tfarley | 1 | -12/+19 | |
2015-12-08 | VideoCore: Unify interface to OpenGL and SW rasterizers | Yuri Kunde Schlesner | 1 | -3/+6 | |
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations. | |||||
2015-12-07 | VideoCore: Rename HWRasterizer methods to be less confusing | Yuri Kunde Schlesner | 1 | -5/+5 | |
2015-08-15 | GPU: Refactor "VertexShader" namespace to "Shader". | bunnei | 1 | -4/+4 | |
- Also renames "vertex_shader.*" to "shader_interpreter.*" | |||||
2015-06-28 | Core: Cleanup hw includes. | Emmanuel Gil Peyrot | 1 | -2/+7 | |
2015-05-23 | OpenGL renderer | tfarley | 1 | -0/+40 | |