lat9nq
7aaeb29b82
configure_debug: Add option to set disable_web_applet
Allow the user to configure the web applet usage ahead of booting the
application.
4 years ago
lat9nq
b78d281f75
yuzu: Move disable_web_applet to UISettings
4 years ago
lat9nq
bc89e1b457
default_ini: List use_extended_memory_layout in default config file
4 years ago
bunnei
1494a66aa3
core: hle: kernel: init_slab_setup: Move CalculateSlabHeapGapSize to global namespace.
4 years ago
bunnei
8b109f8a69
core: hle: kernel: Allocate dummy threads on host thread storage.
- Fixes a crash where on subsequent boots, long-lived host threads would have their dummy threads freed.
4 years ago
bunnei
18baef2ec9
core: hle: kernel: Downgrade dangling objects warning to debug.
- It is not impossible to leak kernel objects, so this is not really any issue anymore (albeit, still interesting).
4 years ago
bunnei
58b39c8ad8
core: hle: kernel: Make object list container global and ensure it is reset on each emulation session.
4 years ago
bunnei
29924a999e
core: hle: kernel: Remove server session tracking.
- These are now allocated/managed by emulated memory, so we do not need to track and free them on shutdown.
4 years ago
bunnei
b7535cd853
core: hle: kernel: k_process: Remove handle table finalize, reset page table.
4 years ago
bunnei
2b881f4ccc
core: hle: kernel: k_process: Implement thread local storage accurately.
4 years ago
bunnei
c8dba7c578
core: hle: kernel: k_page_table: Add implementations of MapPages, UnmapPages, and FindFreeArea for TLS.
4 years ago
bunnei
cb294300ea
core: hle: kernel: k_slab_heap: Refresh to use guest allocations.
4 years ago
bunnei
4b022badf0
core: hle: kernel: Update init_slab_heap, use device memory, and add 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.
4 years ago
bunnei
8e8d8724a2
core: hle: kernel: k_page_buffer: Add KThreadLocalPage primitive.
4 years ago
bunnei
f92568936a
core: hle: kernel: k_page_buffer: Add KPageBuffer primitive.
4 years ago
bunnei
84ced13966
core: hle: kernel: k_thread: Ensure host Fiber is freed.
4 years ago
bunnei
4aa9e8543d
core: hle: kernel: k_server_session: Ensure SessionRequestManager is freed.
4 years ago
bunnei
dfbf03438f
core: hle: service: kernel_helpers: Use system resource limit.
4 years ago
bunnei
c0a2ae3186
core: hle: service: sm: Fix KPort reference count.
4 years ago
bunnei
c5516b1800
core: hle: kernel: k_thread: Update to reflect tree changes.
4 years ago
bunnei
8421193857
core: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and SessionRequestManager.
4 years ago
bunnei
cbf7c2eb40
core: hle: kernel: k_memory_layout: Update kernel slab memory sizes.
4 years ago
bunnei
33c5eca64c
core: hle: kernel: svc_types: Add ThreadLocalRegionSize.
4 years ago
bunnei
bb2c956cf9
core: hle: kernel: k_condition_variable: Update to reflect tree changes.
4 years ago
bunnei
075ae485b1
core: hle: kernel: k_address_arbiter: Update to reflect tree changes.
4 years ago
bunnei
492b983af4
common: tree: Various updates.
4 years ago
bunnei
3a7ac3cb72
common: intrusive_red_black_tree: Various updates.
4 years ago
ameerj
fc50392101
maxwell_3d: Implement a safer CB data upload
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.
4 years ago
byte[]
7c081ca937
Maxwell3D: Link to override constant definition in nouveau
4 years ago
byte[]
2f745c6c00
Maxwell3D: restore original topology when topology overrides are disabled
4 years ago
Liam
6202688c91
Maxwell3D: Use override constants from nouveau
This fixes some incorrect rendering in Sunshine
4 years ago
Merry
eb30b2382a
dynarmic: Reduce size of code caches
4 years ago
Fernando Sahmkow
05054d1dc2
Shader decompiler: do constant propgation before texture pass.
4 years ago
Fernando Sahmkow
fc8251e043
Shader decompiler: Fix storage tracking in deko3d.
4 years ago
ameerj
4a525deb87
config: Write dynarmic exclusive memory configs
Ensures the configs are written and saved between boots
4 years ago
ameerj
1888b552e3
rescaling_pass: Fix rescaling Color2DArray ImageFetch offsets
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.
4 years ago
ameerj
048522e98b
emit_spirv, vk_compute_pass: Resolve VS2022 compiler errors
4 years ago
Liam
db6b7f70b7
Maxwell3D: Restrict topology override effect to after the register is set
4 years ago
Wunkolo
c802f8fbd2
cpu_detect: Add additional x86 flags and telemetry
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](bcfe377aaa/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.
4 years ago
Wunkolo
21ccb35705
common/telemetry: Update `AddField` name type to `string_view`
Non-owning `string_view` is flexable and
avoids some of the many redundant copies made over `std::string`
4 years ago
Liam
61e810ba10
Maxwell3D: mark index buffers as dirty after updating counts
4 years ago
Liam
0a1d21d82e
TextureCacheRuntime: allow converting D24S8 to ABGR8
I can't see how this would be useful, but Galaxy uses it.
4 years ago
Liam
de42319556
Maxwell3D: read small-index draw and primitive topology override registers
This allows Galaxy and Sunshine to render for the first time.
4 years ago
Merry
a993e93abd
backend: Ensure backend_thread is destructed before message_queue
Ensures that stop_token signals that stop has been requested before destruction of conditional_variable
4 years ago
Wunkolo
7cb99ccf23
cpu_detect: Revert `__cpuid{ex}` array-type argument
Restores compatibility with MSVC's `__cpuid` intrinsic.
4 years ago
Wunkolo
b603adb6ac
cpu_detect: Add missing `lzcnt` detection
4 years ago
Wunkolo
4aa5b5779b
cpu_detect: Refactor cpu/manufacturer identification
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(!)
4 years ago
Wunkolo
14618c0e98
cpu_detect: Update array-types to `span` and `array`
Update some uses of `int` into some more explicitly sized types as well
4 years ago
Wunkolo
609c64196b
cpu_detect: Utilize `Bit<N>` utility function
4 years ago
Wunkolo
31f8d6f0cf
cpu_detect: Compact capability fields
As this structure gets more explicit, bools can be bitfields and
small enums can use smaller types for their span of values.
4 years ago