aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines
AgeCommit message (Collapse)Author
2019-04-14shader_ir: Implement STG, keep track of global memory usage and flushReinUsesLisp
2019-04-09Merge pull request #2366 from FernandoS27/xmad-fixbunnei
Correct XMAD mode, psl and high_b on different encodings.
2019-04-08Correct LOP_IMN encodingFernando Sahmkow
2019-04-08Correct XMAD mode, psl and high_b on different encodings.Fernando Sahmkow
2019-04-06maxwell_3d: Reduce severity of ProcessSyncPointReinUsesLisp
2019-04-05Merge pull request #2317 from FernandoS27/syncbunnei
Implement SyncPoint Register in the GPU.
2019-04-05Implement SyncPoint Register in the GPU.Fernando Sahmkow
2019-04-05video_core/engines: Make memory manager members privateLioncash
These aren't used externally by anything, so they can be made private data members.
2019-04-05video_core/engines: Remove unnecessary inclusions where applicableLioncash
Replaces header inclusions with forward declarations where applicable and also removes unused headers within the cpp file. This reduces a few more dependencies on core/memory.h
2019-03-20maxwell_dma: Check for valid source in destination before copy.bunnei
- Avoid a crash in Octopath Traveler.
2019-03-20gpu: Rewrite virtual memory manager using PageTable.bunnei
2019-03-16video_core: Refactor to use MemoryManager interface for all memory access.bunnei
# 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
2019-03-14gpu: Use host address for caching instead of guest address.bunnei
2019-03-10Merge pull request #2147 from ReinUsesLisp/texture-cleanbunnei
shader_ir: Remove "extras" from the MetaTexture
2019-03-06gpu: Move command processing to another thread.bunnei
2019-03-05video_core/engines: Remove unnecessary includesLioncash
Removes a few unnecessary dependencies on core-related machinery, such as the core.h and memory.h, which reduces the amount of rebuilding necessary if those files change. This also uncovered some indirect dependencies within other source files. This also fixes those.
2019-02-27Merge pull request #2163 from ReinUsesLisp/bitset-dirtybunnei
maxwell_3d: Use std::bitset to manage dirty flags
2019-02-27common/math_util: Move contents into the Common namespaceLioncash
These types are within the common library, so they should be within the Common namespace.
2019-02-26maxwell_3d: Use std::bitset to manage dirty flagsReinUsesLisp
2019-02-26shader/decode: Remove extras from MetaTextureReinUsesLisp
2019-02-26shader/decode: Split memory and texture instructions decodingReinUsesLisp
2019-02-24Merge pull request #2118 from FernandoS27/ipa-improvebunnei
shader_decompiler: Improve Accuracy of Attribute Interpolation.
2019-02-15video_core: Remove usages of System::GetInstance() within the enginesLioncash
Avoids the use of the global accessor in favor of explicitly making the system a dependency within the interface.
2019-02-15core_timing: Convert core timing into a classLioncash
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.
2019-02-14shader_decompiler: Improve Accuracy of Attribute Interpolation.Fernando Sahmkow
2019-02-12Merge pull request #2110 from lioncash/namespacebunnei
core_timing: Rename CoreTiming namespace to Core::Timing
2019-02-12Merge pull request #2104 from ReinUsesLisp/compute-assertbunnei
kepler_compute: Fixup assert and rename the engine
2019-02-12core_timing: Rename CoreTiming namespace to Core::TimingLioncash
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.
2019-02-11Corrected F2I None mode to RoundEven.Fernando Sahmkow
2019-02-10kepler_compute: Fixup assert and rename enginesReinUsesLisp
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.
2019-02-06gl_rasterizer: Implement a more accurate fermi 2D copy.bunnei
- This is a blit, use the blit registers.
2019-02-06Merge pull request #2042 from ReinUsesLisp/nouveau-texbunnei
maxwell_3d: Allow texture handles with TIC id zero
2019-02-05Merge pull request #2081 from ReinUsesLisp/lmem-64bunnei
shader_ir/memory: Add LD_L 64 bits loads
2019-02-04Merge pull request #2082 from FernandoS27/txq-stlbunnei
Fix TXQ not using the component mask.
2019-02-03Update src/video_core/engines/shader_bytecode.hMat M
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
2019-02-03Fix TXQ not using the component mask.Fernando Sahmkow
2019-02-03video_core: Assert on invalid GPU to CPU address queriesReinUsesLisp
2019-02-03maxwell_3d: Allow sampler handles with TSC id zeroReinUsesLisp
2019-02-03maxwell_3d: Allow texture handles with TIC id zeroReinUsesLisp
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because it would become unused.
2019-02-03shader_bytecode: Rename BytesN enums to BitsNReinUsesLisp
2019-01-30shader_ir: Unify constant buffer offset valuesReinUsesLisp
Constant buffer values on the shader IR were using different offsets if the access direct or indirect. cbuf34 has a non-multiplied offset while cbuf36 does. On shader decoding this commit multiplies it by four on cbuf34 queries.
2019-01-30shader_decode: Implement LDG and basic cbuf trackingReinUsesLisp
2019-01-25Merge pull request #1927 from ReinUsesLisp/shader-irbunnei
video_core: Replace gl_shader_decompiler with an IR based decompiler
2019-01-22maxwell_3d: Set rt_separate_frag_data to 1 by defaultReinUsesLisp
Commercial games assume that this value is 1 but they never set it. On the other hand nouveau manually sets this register. On ConfigureFramebuffers we were asserting for what we are actually implementing (according to envytools).
2019-01-15shader_decode: Implement VMAD and VSETPReinUsesLisp
2019-01-15shader_decode: Implement HFMA2ReinUsesLisp
2019-01-15shader_decode: Fixup clang-formatReinUsesLisp
2019-01-15shader_ir: Initial implementationReinUsesLisp
2019-01-15shader_bytecode: Fixup encodingReinUsesLisp
2019-01-15shader_header: Make local memory size getter constantReinUsesLisp