aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2018-09-01Removed saturate assertDavid Marcec
Saturate already implemented
2018-09-01Changed tab5980_0 default from 0 -> 1David Marcec
2018-09-01Added FFMA assertsDavid Marcec
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
2018-08-31gl_rasterizer_cache: Use accurate framebuffer setting for accurate copies.bunnei
2018-08-31gl_rasterizer_cache: Also use reserve cache for RecreateSurface.bunnei
2018-08-31rasterizer_cache: Use boost::interval_map for a more accurate cache.bunnei
2018-08-31gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.bunnei
2018-08-31gl_rasterizer: Fix issues with the rasterizer cache.bunnei
- Use a single cached page map. - Fix calculation of ending page.
2018-08-31Implement BC6H_UF16 & BC6H_SF16 (#1092)greggameplayer
* Implement BC6H_UF16 & BC6H_SF16 Require by ARMS * correct coding style * correct coding style part 2
2018-08-31Merge pull request #1204 from lioncash/pimplbunnei
core: Make the main System class use the PImpl idiom
2018-08-31Merge pull request #1207 from degasus/hotfixbunnei
Report correct shader size.
2018-08-31core: Make the main System class use the PImpl idiomLioncash
core.h is kind of a massive header in terms what it includes within itself. It includes VFS utilities, kernel headers, file_sys header, ARM-related headers, etc. This means that changing anything in the headers included by core.h essentially requires you to rebuild almost all of core. Instead, we can modify the System class to use the PImpl idiom, which allows us to move all of those headers to the cpp file and forward declare the bulk of the types that would otherwise be included, reducing compile times. This change specifically only performs the PImpl portion.
2018-08-31Report correct shader size.Markus Wick
Seems like this was an oversee in regards to 1fd979f50a9f4c21fa8cafba7268d959e3076924 It changed GLShader::ProgramCode to a std::vector, so sizeof is wrong.
2018-08-31Added predicate comparison GreaterEqualWithNanHexagon12
2018-08-30gl_shader_decompiler: Implement POPC (#1203)Laku
* Implement POPC * implement invert
2018-08-30Merge pull request #1200 from bunnei/improve-ipabunnei
gl_shader_decompiler: Improve IPA for Pass mode with Position attribute.
2018-08-29Shaders: Implemented IADD3tech4me
2018-08-29gl_shader_decompiler: Improve IPA for Pass mode with Position attribute.bunnei
2018-08-28Merge pull request #1193 from lioncash/privbunnei
gpu: Make memory_manager private
2018-08-28Merge pull request #1192 from lioncash/unusedbunnei
gl_rasterizer: Remove unused variables
2018-08-28gl_shader_cache: Remove unused program_code vector in GetShaderAddress()Lioncash
Given std::vector is a type with a non-trivial destructor, this variable cannot be optimized away by the compiler, even if unused. Because of that, something that was intended to be fairly lightweight, was actually allocating 32KB and deallocating it at the end of the function.
2018-08-28gpu: Make memory_manager privateLioncash
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.
2018-08-28gl_rasterizer: Remove unused variablesLioncash
2018-08-27renderer_opengl: Implement a new shader cache.bunnei
2018-08-27gl_rasterizer_cache: Update to use RasterizerCache base class.bunnei
2018-08-27video_core: Add RasterizerCache class for common cache management code.bunnei
2018-08-27Merge pull request #1169 from Lakumakkara/selbunnei
shader_bytecode: fix SEL_IMM bitstring
2018-08-27Merge pull request #1174 from lioncash/debugbunnei
debug_utils: Minor individual interface changes
2018-08-25Merge pull request #1173 from lioncash/batchbunnei
maxwell3d: Move FinishedPrimitiveBatch event after AcceleratedDrawBatch()
2018-08-25Merge pull request #1167 from lioncash/assertbunnei
gl_rasterizer: Correct assertion condition in SyncLogicOpState()
2018-08-24debug_utils: Remove unused includesLioncash
Quite a bit of these aren't necessary directly within the debug_utils header and can be removed or included where actually necessary.
2018-08-24debug_utils: Make BreakpointObserver class' constructor explicitLioncash
Avoids implicit conversions.
2018-08-24debug_utils: Initialize active_breakpoint member of DebugContextLioncash
Ensures that all class members are initialized.
2018-08-24maxwell3d: Move FinishedPrimitiveBatch event after AcceleratedDrawBatch()Lioncash
The start and finish events should likely not be right after one another like this, otherwise the batch will appear to complete immediately
2018-08-24fix SEL_IMM bitstringLaku
2018-08-23gl_rasterizer: Correct assertion condition in SyncLogicOpState()Lioncash
Previously the assert would always be hit, since it was the equivalent of: array == nullptr, which is never true.
2018-08-23Shaders: Added decodings for IADD3 instructionstech4me
2018-08-23Merge pull request #1160 from bunnei/surface-reservebunnei
gl_rasterizer_cache: Several improvements
2018-08-23gl_rasterizer_cache: Blit when possible on RecreateSurface.bunnei
2018-08-23gl_rasterizer_cache: Reserve surfaces that have already been created for ↵bunnei
later use.
2018-08-23gl_rasterizer_cache: Remove assert for RecreateSurface type.bunnei
2018-08-23gl_rasterizer_cache: Implement compressed texture copies.bunnei
2018-08-23gl_rasterizer: Implement stencil test.bunnei
- Used by Splatoon 2.
2018-08-23gl_rasterizer: Implement partial color clear and stencil clear.bunnei
2018-08-23maxwell_3d: Update to include additional stencil registers.bunnei
2018-08-23gl_state: Update to handle stencil front/back face separately.bunnei
2018-08-23Merge pull request #1157 from lioncash/vecbunnei
gl_shader_gen: Use a std::vector to represent program code instead of std::array
2018-08-23Merge pull request #1156 from Lakumakkara/lop3bunnei
gl_shader_decompiler: Implement LOP3
2018-08-22gl_shader_gen: Make ShaderSetup's constructor explicitLioncash
Prevents implicit conversions.