summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* memory_manager: Improved implementation of read/write/copy block.bunnei2019-04-061-1/+1
| | | | | - Fixes graphical issues with Chocobo's Mystery Dungeon EVERY BUDDY! - Fixes a crash with Mario Tennis Aces
* video_core/gpu: Amend typo in GPU member variable nameLioncash2019-03-271-4/+5
| | | | smaphore -> semaphore
* gpu: Rewrite virtual memory manager using PageTable.bunnei2019-03-211-3/+4
|
* video_core: Refactor to use MemoryManager interface for all memory access.bunnei2019-03-161-9/+4
| | | | | | | | | | | # Conflicts: # src/video_core/engines/kepler_memory.cpp # src/video_core/engines/maxwell_3d.cpp # src/video_core/morton.cpp # src/video_core/morton.h # src/video_core/renderer_opengl/gl_global_cache.cpp # src/video_core/renderer_opengl/gl_global_cache.h # src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
* gpu: Refactor a/synchronous implementations into their own classes.bunnei2019-03-071-48/+0
|
* gpu: Move command processing to another thread.bunnei2019-03-071-3/+41
|
* gpu: Refactor command and swap buffers interface for asynch.bunnei2019-03-071-0/+10
|
* gpu: Refactor to take RendererBase instead of RasterizerInterface.bunnei2019-03-071-2/+3
|
* video_core: Remove usages of System::GetInstance() within the enginesLioncash2019-02-161-4/+4
| | | | | Avoids the use of the global accessor in favor of explicitly making the system a dependency within the interface.
* core_timing: Convert core timing into a classLioncash2019-02-161-1/+2
| | | | | | | | | | | Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
* Merge pull request #2099 from greggameplayer/BGRA8-Framebuffer-Realbunnei2019-02-131-0/+1
|\ | | | | Implement BGRA8 framebuffer format
| * Implement BGRA8 framebuffer formatgreggameplayer2019-02-091-0/+1
| |
* | Merge pull request #2110 from lioncash/namespacebunnei2019-02-131-1/+1
|\ \ | | | | | | core_timing: Rename CoreTiming namespace to Core::Timing
| * | core_timing: Rename CoreTiming namespace to Core::TimingLioncash2019-02-121-1/+1
| |/ | | | | | | | | | | Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
* / kepler_compute: Fixup assert and rename enginesReinUsesLisp2019-02-101-4/+4
|/ | | | | | | | | | When I originally added the compute assert I used the wrong documentation. This addresses that. The dispatch register was tested with homebrew against hardware and is triggered by some games (e.g. Super Mario Odyssey). What exactly is missing to get a valid program bound by this engine requires more investigation.
* video_core/GPU Implemented the GPU PFIFO puller semaphore operations. (#1908)Kevin2019-01-301-12/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented the puller semaphore operations. * Nit: Fix 2 style issues * Nit: Add Break to default case. * Fix style. * Update for comments. Added ReferenceCount method * Forgot to remove GpuSmaphoreAddress union. * Fix the clang-format issues. * More clang formatting. * two more white spaces for the Clang formatting. * Move puller members into the regs union * Updated to use Memory::WriteBlock instead of Memory::Write* * Fix clang style issues * White space clang error * Removing unused funcitons and other pr comment * Removing unused funcitons and other pr comment * More union magic for setting regs value. * union magic refcnt as well * Remove local var * Set up the regs and regs_assert_positions up properly * Fix clang error
* Fixed uninitialized memory due to missing returns in canaryDavid Marcec2018-12-191-0/+2
| | | | Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
* GPU: Don't try to route PFIFO methods (0-0x40) to the other engines.Subv2018-12-041-0/+6
|
* Fix debug buildLioncash2018-12-011-4/+2
| | | | | A non-existent parameter was left in some formatting calls (the logging macro for which only does anything meaningful on debug builds)
* gpu: Move command list profiling to DmaPusher::DispatchCalls.bunnei2018-11-281-5/+0
|
* gpu: Rewrite GPU command list processing with DmaPusher class.bunnei2018-11-271-0/+58
| | | | - More accurate impl., fixes Undertale (among other games).
* Use default values for unknown framebuffer pixel formatFernandoS272018-11-211-0/+2
|
* GPU: Improved implementation of maxwell DMA (Subv).bunnei2018-10-191-1/+1
|
* GPU: Invalidate destination address of kepler_memory writes.bunnei2018-10-191-1/+1
|
* fermi_2d: Implement simple copies with AccelerateSurfaceCopy.bunnei2018-10-061-1/+1
|
* GPU: Basic implementation of the Kepler Inline Memory engine (p2mf).Subv2018-09-121-0/+2
| | | | This engine writes data from a FIFO register into the configured address.
* gl_rasterizer_cache: Implement RenderTargetFormat::BGRA8_SRGB.bunnei2018-09-101-0/+1
| | | | - Used by Octopath Traveler (with multiple render targets).
* gpu: Make memory_manager privateLioncash2018-08-281-3/+11
| | | | | | | | | | Makes the class interface consistent and provides accessors for obtaining a reference to the memory manager instance. Given we also return references, this makes our more flimsy uses of const apparent, given const doesn't propagate through pointers in the way one would typically expect. This makes our mutable state more apparent in some places.
* Implemented RGBA8_UINTDavid Marcec2018-08-201-0/+1
| | | | Needed by kirby
* renderer_opengl: Implement RenderTargetFormat::RGBA16_UNORM.bunnei2018-08-141-0/+1
| | | | - Used by Breath of the Wild.
* Implement RG32UI and R32UIDavid Marcec2018-08-131-0/+2
| | | | Needed for xenoblade
* renderer_opengl: Implement RenderTargetFormat::RGBA16_UINT.bunnei2018-08-131-0/+1
| | | | - Used by Breath of the Wild.
* renderer_opengl: Implement RenderTargetFormat::RG8_UNORM.bunnei2018-08-131-0/+1
| | | | - Used by Breath of the Wild.
* Implement R8_UINT RenderTargetFormat & PixelFormat (#1014)greggameplayer2018-08-121-0/+1
| | | | - Used by Go Vacation
* gl_rasterizer: Implement render target format RG8_SNORM.bunnei2018-08-121-0/+1
| | | | - Used by Super Mario Odyssey.
* gl_rasterizer: Implement render target format RGBA8_SNORM.bunnei2018-08-121-0/+1
| | | | - Used by Super Mario Odyssey.
* Merge pull request #1016 from lioncash/videobunnei2018-08-111-0/+10
|\ | | | | video_core: Get rid of global variable g_toggle_framelimit_enabled
| * video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash2018-08-111-0/+10
| | | | | | | | | | | | | | | | | | Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes.
* | Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more (R16_UNORM needed by Fate Extella) (#848)greggameplayer2018-08-111-0/+32
|/ | | | | | | | | | | | | | | * Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats Do a separate function in order to get Bytes Per Pixel of DepthFormat Apply the new function in gpu.h delete unneeded white space * correct merging error
* gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel.bunnei2018-08-081-0/+1
| | | | - Used by Super Mario Odyssey.
* video_core: Eliminate the g_renderer global variableLioncash2018-08-041-2/+3
| | | | | | | | | | | | | | We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
* Implement R32_FLOAT RenderTargetFormatUnknown2018-08-011-0/+1
|
* gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.bunnei2018-07-241-0/+1
|
* gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.bunnei2018-07-241-0/+1
|
* gpu: Rename Get3DEngine() to Maxwell3D()Lioncash2018-07-211-1/+5
| | | | This makes it match its const qualified equivalent.
* GPU: Partially implemented the Maxwell DMA engine.Subv2018-06-121-0/+2
| | | | Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
* GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.Subv2018-06-061-0/+2
|
* GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine.Subv2018-06-061-0/+2
|
* general: Convert assertion macros over to be fmt-compatibleLioncash2018-04-271-1/+1
|
* GPU: Added a function to retrieve the bytes per pixel of the render target formats.Subv2018-04-251-0/+12
|
* GPU: Added boilerplate code for the Fermi2D engineSubv2018-04-251-1/+1
|
* Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.Subv2018-03-241-0/+4
|
* GPU: Move the GPU's class constructor and destructors to a cpp file.Subv2018-03-181-0/+21
This should reduce recompile times when editing the Maxwell3D register structure.