summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | core: hle: kernel: Remove server session tracking.Gravatar bunnei2022-03-144-37/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - These are now allocated/managed by emulated memory, so we do not need to track and free them on shutdown.
| * | | | | | | | | core: hle: kernel: k_process: Remove handle table finalize, reset page table.Gravatar bunnei2022-03-141-3/+3
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_process: Implement thread local storage accurately.Gravatar bunnei2022-03-143-111/+99
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_page_table: Add implementations of MapPages, ↵Gravatar bunnei2022-03-142-2/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UnmapPages, and FindFreeArea for TLS.
| * | | | | | | | | core: hle: kernel: k_slab_heap: Refresh to use guest allocations.Gravatar bunnei2022-03-142-125/+107
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: Update init_slab_heap, use device memory, and add ↵Gravatar bunnei2022-03-144-55/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KThreadLocalPage and KPageBuffer. - Refreshes our slab initialization code to latest known behavior. - Moves all guest kernel slabs into emulated device memory. - Adds KThreadLocalPage and KPageBuffer, which we will use for accurate TLS management.
| * | | | | | | | | core: hle: kernel: k_page_buffer: Add KThreadLocalPage primitive.Gravatar bunnei2022-03-143-0/+179
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_page_buffer: Add KPageBuffer primitive.Gravatar bunnei2022-03-142-0/+35
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_thread: Ensure host Fiber is freed.Gravatar bunnei2022-03-141-0/+3
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_server_session: Ensure SessionRequestManager is freed.Gravatar bunnei2022-03-141-0/+3
| | | | | | | | | |
| * | | | | | | | | core: hle: service: kernel_helpers: Use system resource limit.Gravatar bunnei2022-03-141-10/+1
| | | | | | | | | |
| * | | | | | | | | core: hle: service: sm: Fix KPort reference count.Gravatar bunnei2022-03-141-0/+2
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_thread: Update to reflect tree changes.Gravatar bunnei2022-03-141-3/+3
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and ↵Gravatar bunnei2022-03-147-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SessionRequestManager.
| * | | | | | | | | core: hle: kernel: k_memory_layout: Update kernel slab memory sizes.Gravatar bunnei2022-03-141-3/+3
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: svc_types: Add ThreadLocalRegionSize.Gravatar bunnei2022-03-141-0/+2
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_condition_variable: Update to reflect tree changes.Gravatar bunnei2022-03-141-1/+1
| | | | | | | | | |
| * | | | | | | | | core: hle: kernel: k_address_arbiter: Update to reflect tree changes.Gravatar bunnei2022-03-141-3/+3
| | | | | | | | | |
| * | | | | | | | | common: tree: Various updates.Gravatar bunnei2022-03-141-284/+341
| | | | | | | | | |
| * | | | | | | | | common: intrusive_red_black_tree: Various updates.Gravatar bunnei2022-03-141-181/+210
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #8023 from ameerj/kirby-pop-inGravatar Fernando S2022-03-162-70/+12
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | maxwell_3d: Implement a safer CB data upload
| * | | | | | | | maxwell_3d: Implement a safer CB data uploadGravatar ameerj2022-03-142-70/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes constant buffer uploads safer and more accurate by updating the GPU memory as soon as the CB Data method is invoked. The previous implementation was deferring the updates until a different maxwell 3d method was detected, then writing all CB data at once.
* | | | | | | | | default_ini: List use_extended_memory_layout in default config fileGravatar lat9nq2022-03-151-1/+5
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #8008 from ameerj/rescale-offsets-arrayGravatar Fernando S2022-03-151-2/+27
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | rescaling_pass: Fix rescaling Color2DArray ImageFetch offsets
| * | | | | | | | rescaling_pass: Fix rescaling Color2DArray ImageFetch offsetsGravatar ameerj2022-03-121-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImageFetch offsets for 2D array coordinates have a different composite size than the coordinates. The rescaling pass was not taking this into account. Fixes broken shaders when scaling is enabled in Astral Chain, and likely other titles.
* | | | | | | | | Merge pull request #8000 from liamwhite/hagiGravatar Fernando S2022-03-153-3/+77
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Initial support for Wii Hagi emulator
| * | | | | | | | | Maxwell3D: Link to override constant definition in nouveauGravatar byte[]2022-03-141-0/+2
| | | | | | | | | |
| * | | | | | | | | Maxwell3D: restore original topology when topology overrides are disabledGravatar byte[]2022-03-141-0/+2
| | | | | | | | | |
| * | | | | | | | | Maxwell3D: Use override constants from nouveauGravatar Liam2022-03-142-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes some incorrect rendering in Sunshine
| * | | | | | | | | Maxwell3D: Restrict topology override effect to after the register is setGravatar Liam2022-03-112-1/+5
| | | | | | | | | |
| * | | | | | | | | Maxwell3D: mark index buffers as dirty after updating countsGravatar Liam2022-03-111-0/+2
| | | | | | | | | |
| * | | | | | | | | TextureCacheRuntime: allow converting D24S8 to ABGR8Gravatar Liam2022-03-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can't see how this would be useful, but Galaxy uses it.
| * | | | | | | | | Maxwell3D: read small-index draw and primitive topology override registersGravatar Liam2022-03-102-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows Galaxy and Sunshine to render for the first time.
* | | | | | | | | | Merge pull request #8015 from FernandoS27/fix-global-memGravatar bunnei2022-03-142-3/+4
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | Shader decompiler: Fix storage tracking in deko3d.
| * | | | | | | | | Shader decompiler: do constant propgation before texture pass.Gravatar Fernando Sahmkow2022-03-131-2/+2
| | | | | | | | | |
| * | | | | | | | | Shader decompiler: Fix storage tracking in deko3d.Gravatar Fernando Sahmkow2022-03-131-1/+2
| | | | | | | | | |
* | | | | | | | | | Merge pull request #8016 from merryhime/kill-mem-useGravatar Fernando S2022-03-142-4/+4
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | dynarmic: Reduce size of code caches
| * | | | | | | | | dynarmic: Reduce size of code cachesGravatar Merry2022-03-132-4/+4
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #8007 from ameerj/vs-2022-errorsGravatar bunnei2022-03-132-2/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | emit_spirv, vk_compute_pass: Resolve VS2022 compiler errors
| * | | | | | | | | emit_spirv, vk_compute_pass: Resolve VS2022 compiler errorsGravatar ameerj2022-03-122-2/+3
| |/ / / / / / / /
* / / / / / / / / config: Write dynarmic exclusive memory configsGravatar ameerj2022-03-121-0/+2
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Ensures the configs are written and saved between boots
* | | | | | | | cpu_detect: Add additional x86 flags and telemetryGravatar Wunkolo2022-03-114-29/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds detection of additional CPU flags to cpu_detect and additions to telemetry output. This is not exhaustive but guided by features that [dynarmic utilizes](https://github.com/merryhime/dynarmic/blob/bcfe377aaa5138af740e90af5be7a7dff7b62a52/src/dynarmic/backend/x64/host_feature.h#L12-L33) as well as features that are currently utilized but not reported to telemetry(invariant_tsc). This is intended to guide future optimizations. AVX512 in particular is broken up into its individual subsets and some other processor features such as [sha](https://en.wikipedia.org/wiki/Intel_SHA_extensions) and [gfni](https://en.wikipedia.org/wiki/AVX-512#GFNI) are added to have some forward-facing data-points. What used to be a single `CPU_Extension_x64_AVX512` telemetry field is also broken up into individual `CPU_Extension_x64_AVX512{F,VL,CD,...}` fields.
* | | | | | | | common/telemetry: Update `AddField` name type to `string_view`Gravatar Wunkolo2022-03-111-3/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-owning `string_view` is flexable and avoids some of the many redundant copies made over `std::string`
* | | | | | | backend: Ensure backend_thread is destructed before message_queueGravatar Merry2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensures that stop_token signals that stop has been requested before destruction of conditional_variable
* | | | | | | cpu_detect: Revert `__cpuid{ex}` array-type argumentGravatar Wunkolo2022-03-091-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Restores compatibility with MSVC's `__cpuid` intrinsic.
* | | | | | | cpu_detect: Add missing `lzcnt` detectionGravatar Wunkolo2022-03-091-0/+1
| | | | | | |
* | | | | | | cpu_detect: Refactor cpu/manufacturer identificationGravatar Wunkolo2022-03-092-24/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the zero-enum value to Unknown Move the Manufacterer enum into the CPUCaps structure namespace Add "ParseManufacturer" utility-function Fix cpu/brand string buffer sizes(!)
* | | | | | | cpu_detect: Update array-types to `span` and `array`Gravatar Wunkolo2022-03-091-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update some uses of `int` into some more explicitly sized types as well
* | | | | | | cpu_detect: Utilize `Bit<N>` utility functionGravatar Wunkolo2022-03-091-32/+20
| | | | | | |
* | | | | | | cpu_detect: Compact capability fieldsGravatar Wunkolo2022-03-091-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As this structure gets more explicit, bools can be bitfields and small enums can use smaller types for their span of values.