aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2018-09-04command_processor: Use std::array for bound_engines.Markus Wick
subchannel is a 3 bit field. So there must not be more than 8 bound engines. And using a hashmap for up to 8 values is a bit overpowered.
2018-09-04Update microprofile scopes.Markus Wick
Blame the subsystems which deserve the blame :) The updated list is not complete, just the ones I've spotted on random sampling the stack trace.
2018-09-02gl_shader_decompiler: Use used_shaders member variable directly within ↵Lioncash
GenerateDeclarations() Using the getter function intended for external code here makes an unnecessary copy of the already-accessible used_shaders vector.
2018-09-02Merge pull request #1213 from DarkLordZach/octopath-fsbunnei
filesystem/maxwell_3d: Various changes to boot Project Octopath Traveller
2018-09-02Merge pull request #1215 from ogniK5377/texs-nodep-assertbunnei
Added assert for TEXS nodep
2018-09-02Merge pull request #1214 from ogniK5377/ipa-assertbunnei
Added better asserts to IPA, Renamed IPA modes to match mesa
2018-09-02Merge pull request #1216 from ogniK5377/ffma-assertbunnei
Added FFMA asserts and missing fields
2018-09-01Removed saturate assertDavid Marcec
Unneeded as we already implement it
2018-09-01Removed saturate assertDavid Marcec
Saturate already implemented
2018-09-01Changed tab5980_0 default from 0 -> 1David Marcec
2018-09-01Added FMUL assertsDavid Marcec
2018-09-01Added FFMA assertsDavid Marcec
2018-09-01Added assert for TEXS nodepDavid Marcec
2018-09-01Added better asserts to IPA, Renamed IPA modes to match mesaDavid Marcec
IpaMode is changed to IpaInterpMode IpaMode is suppose to be 2 bits not 3 Added IpaSampleMode Added Saturate Renamed modes based on https://github.com/mesa3d/mesa/blob/d27c7918916cdc8092959124955f887592e37d72/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp#L2530
2018-08-31maxwell_3d: Use CoreTiming for query timestampZach Hilman
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