aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
AgeCommit message (Collapse)Author
2018-08-11gl_rasterizer: Implement render target format RGBA8_SNORM.bunnei
- Used by Super Mario Odyssey.
2018-08-11Merge pull request #1016 from lioncash/videobunnei
video_core: Get rid of global variable g_toggle_framelimit_enabled
2018-08-11Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more ↵greggameplayer
(R16_UNORM needed by Fate Extella) (#848) * 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
2018-08-10video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash
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.
2018-08-08gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel.bunnei
- Used by Super Mario Odyssey.
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
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.
2018-08-01Implement R32_FLOAT RenderTargetFormatUnknown
2018-07-23gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.bunnei
2018-07-23gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.bunnei
2018-07-20gpu: Rename Get3DEngine() to Maxwell3D()Lioncash
This makes it match its const qualified equivalent.
2018-06-12GPU: Partially implemented the Maxwell DMA engine.Subv
Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
2018-06-05GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.Subv
2018-06-05GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine.Subv
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash
2018-04-25GPU: Added a function to retrieve the bytes per pixel of the render target ↵Subv
formats.
2018-04-25GPU: Added boilerplate code for the Fermi2D engineSubv
2018-03-24Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.Subv
2018-03-18GPU: Move the GPU's class constructor and destructors to a cpp file.Subv
This should reduce recompile times when editing the Maxwell3D register structure.