aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/engine_upload.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Switch 2: Turing macros, native compute, Ampere shader lowering, native tilingTakoroka7 days1-0/+20
| | | | | | | | | | | | | | | | | From changes.patch: the TU104/GA10x MME interpreter (shared macro context for the process's channels, also on the compute class), native compute with QMD 3.0 dependency scheduling, the Ampere-to-Maxwell shader lowering, native vertex stream sizes, and the console's GOB swizzle for textures, DMA copies and the host unswizzle shaders. Switch 2 channels turn all of it on at init. The lowering is widened for title 4 (all 32 of its programs lower): general TEX (any dimension/LOD/mask, operand split 1+1/2+1/2+2/4+n, any but consistent descriptor buffer), cube/array, SULD channel masks, 128-bit STG, indexed IPA, VOTE, SHFL with any immediate or predicate output, R2P/P2R byte select, uniform ULOP3/ULEA/UBREV/UFLO.SH/UISETP signed/UMOV URZ, IMNMX cbuf, IADD3 and FFMA uniform operands, FMUL /4 /8 x8, and BSSY/BSYNC/BREAK/WARPSYNC as no-ops. The capture stops at unmapped memory. EDEN_NX2_SHADER_DUMP dumps every native program; tools in C:\dev\nx2work test the lowering offline.
* [meta] fix license headers (#2547)lizzie2025-09-211-0/+3
| | | | | | | Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [cmake] enable clang-cl and WoA builds (#348)lizzie2025-09-091-2/+2
| | | | | | | | | | | | | | Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64. Compiling on clang is *dramatically* faster so this should be useful for CI. Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: crueter <crueter@crueter.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* SMMU: Initial adaptation to video_core.Fernando Sahmkow2024-01-181-2/+3
|
* Use spans over guest memory where possible instead of copying data.Kelebek12023-07-021-15/+13
|
* video_core: Cache GPU internal writes.Fernando Sahmkow2023-01-051-1/+1
|
* scratch_buffer: Explicitly defing resize and resize_destructive functionsameerj2022-12-191-2/+2
| | | | | resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows
* engines: Remove unnecessary castsLioncash2022-11-291-4/+3
| | | | In a few cases we have some casts that can be trivially removed.
* GPU: Fix buffer cache issue, engine upload not inlining memory in multiline ↵Fernando Sahmkow2022-11-241-4/+4
| | | | and pessismistic invalidation.
* DMA & InlineToMemory Engines Rework.bunnei2022-10-061-9/+37
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* Rasterizer: Refactor inlineToMemory.Fernando Sahmkow2022-02-011-1/+1
|
* Rasterizer: Implement Inline2Memory Acceleration.Fernando Sahmkow2022-01-291-2/+6
|
* Inline2Memory: Flush before writting buffer.Fernando Sahmkow2022-01-291-0/+1
|
* video_core: Resolve more variable shadowing scenariosLioncash2020-12-041-4/+4
| | | | | | Resolves variable shadowing scenarios up to the end of the OpenGL code to make it nicer to review. The rest will be resolved in a following commit.
* decoders: correct block calculationFernando Sahmkow2019-06-201-1/+1
|
* engine_upload: Addapt to new Texture CacheFernando Sahmkow2019-06-201-2/+2
|
* video_core/engines/engine_upload: Amend constructor initializer list orderLioncash2019-05-141-1/+1
| | | | Silences a -Wreorder warning.
* video_core/engines/engine_upload: Default destructor in the cpp fileLioncash2019-05-141-0/+2
| | | | | | Avoids inlining destruction logic where applicable, and also makes forward declarations not cause unexpected compilation errors depending on where the State class is used.
* video_core/engines/engine_upload: Remove unnecessary includesLioncash2019-05-141-0/+2
|
* Refactors and name corrections.Fernando Sahmkow2019-05-011-19/+20
|
* Add Swizzle Parameters to the DMA engineFernando Sahmkow2019-04-231-1/+1
|
* Corrections and stylingFernando Sahmkow2019-04-231-1/+4
|
* Revamp Kepler Memory to use a subegine to manage uploadsFernando Sahmkow2019-04-221-0/+44