Commit graph

3536 commits

Author SHA1 Message Date
Ac_K
766ded78c9
Merge 1f36344917 into a2c0035013 2024-10-01 13:16:28 +02:00
gdkchan
a2c0035013
Update audio renderer to REV13: Add support for compressor statistics and volume reset (#7372)
* Update audio renderer to REV13: Add support for compressor statistics and volume reset

* XML docs

* Disable stats reset

* Wrong comment

* Fix more XML docs

* PR feedback
2024-10-01 11:30:57 +01:00
Ac_K
1f36344917 New translations en_us.json (Catalan) 2024-09-30 20:50:53 +02:00
Ac_K
acfe96d0d2 New translations en_us.json (Finnish) 2024-09-30 20:50:52 +02:00
gdkchan
7d158acc3b
Do not try to create a texture pool if shader does not use textures (#7379) 2024-09-30 11:41:07 -03:00
Ac_K
4e710984ab New translations en_us.json (Swedish) 2024-09-29 20:13:40 +02:00
Ac_K
85a2c9a2df New translations en_us.json (German) 2024-09-28 19:44:25 +02:00
e2dk4r
5dbba07e33
sdl: set app name (#7370)
Ryujinx was not hinting application name, so on some platforms (e.g.
Linux) volume control shows Ryujinx as 'SDL Application'. This can cause
confusion.

This commit fixes name in volume control applets on some platforms.

see: https://wiki.libsdl.org/SDL2/SDL_HINT_APP_NAME
2024-09-28 10:44:23 +02:00
Ac_K
fc7d80ab2c New translations en_us.json (Finnish) 2024-09-27 19:29:50 +02:00
MaxLastBreath
d86249cb0a
Convert MaxTextureCacheCapacity to Dynamic MaxTextureCacheCapacity for High Resolution Mod support. (#7307)
* Add Texture Size Capacity and 8GB Dram Build

* Update AutoDeleteCache.cs

* Dynamic Texture Cache (WIP)

* Change to float Multiplier, in-case it needs fine-tuning.

* Delete src/src.sln

* Update AutoDeleteCache.cs

* Format

* Fix Formatting

* Add DefaultTextureSizeCapacity and MemoryScaleFactor

- Also remove redundant New Lines

* Fix 4GB dram crashing

* Format newline

* Refractor

- Added Initialize() function to TextureCache and AutoDeleteCache
- Removed GetMaxTextureCapacity() function and instead added _maxCacheMemoryUsage
- Added private const MaxTextureSizeCapacity to AutoDelete Cache
- Added TextureCache.Initialize() to MemoryManager in order to fetch MaxGpuMemory at the right time.
- Moved and Changed Logger.Info for Gpu Memory to Logger.Notice and Moved it to PrintGpuInformation function.
- Opted to use a ternary operator for the Initialize function, I think it looks cleaner than bunch of if statements.

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* maxMemory to CacheMemory, use Clamp instead of Ternary. Changed MinTextureCapacity 1GiB to 512 MiB

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Format comment

* comment context

* Increase TextureSize capacity for OpenGL back to 1024

- Added a new const ulong for OpenGLTextureSizeCapacity

* Fix changes from last commit.

* Adjust last OpenGL changes.

* Remove garbage VSC file

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

---------

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-09-26 14:33:38 -03:00
Ac_K
fbaf8c8c58 New translations en_us.json (Czech) 2024-09-26 19:24:33 +02:00
Ac_K
7f174b5423 New translations en_us.json (Ukrainian) 2024-09-26 19:24:31 +02:00
riperiperi
04d68ca616
GPU: Ensure all clip distances are initialized when used (#7363)
* GPU: Ensure all clip distances are initialized when used

* Shader cache version
2024-09-26 14:19:12 -03:00
Ac_K
1482b4ba6f New translations en_us.json (Finnish) 2024-09-25 18:40:55 +02:00
Ac_K
bc9ac62ffe New translations en_us.json (Czech) 2024-09-25 18:40:53 +02:00
Ac_K
d346b35b6f New translations en_us.json (Finnish) 2024-09-24 18:40:36 +02:00
Ac_K
4905729ead New translations en_us.json (Czech) 2024-09-24 18:40:35 +02:00
Ac_K
c62cb2e069 New translations en_us.json (Spanish) 2024-09-24 18:40:33 +02:00
Jason Youngberg
050f22977f
Update bug_report.yml to provide better instructions for finding log file (#7333) 2024-09-24 11:10:36 +02:00
gdkchan
319507f2a1
Fix quads draws after DrawTexture on Vulkan (#7336) 2024-09-22 19:36:53 -03:00
Ac_K
8a7055a6ee New translations en_us.json (Chinese Simplified) 2024-09-22 17:07:53 +02:00
Ac_K
45b42fcfb7 New translations en_us.json (Italian) 2024-09-22 17:07:51 +02:00
Ac_K
6703cd3212 New translations en_us.json (Arabic) 2024-09-21 16:49:33 +02:00
Ac_K
6f0b2f9287 New translations en_us.json (Italian) 2024-09-20 15:51:00 +02:00
gdkchan
d717aef2be
Shader: Assume the only remaining source is the right one when all others are undefined (#7331)
* Shader: Assume the only remaining source is the right one when all other are undefined

* Shader cache version bump

* Improve comment
2024-09-19 21:23:09 -03:00
gdkchan
24ee8c39f1
Add support for sampler sRGB disable (#7312) 2024-09-19 14:38:30 -03:00
Ac_K
57f32be0b2 New translations en_us.json (Italian) 2024-09-19 15:50:32 +02:00
jhorv
73f985d27c
Replace passing by IMemoryOwner<byte> with passing by concrete MemoryOwner<byte> (#7171)
* refactor(perf): pass MemoryOwner<byte> around as itself rather than IMemoryOwner<byte>

* fix(perf): get span via MemoryOwner<byte>.Span property instead of through Memory property

* fix: incorrect comment change
2024-09-18 23:00:54 -03:00
gdkchan
ef81658fbd
Implement support for shader ATOM.EXCH instruction (#7320)
* Implement support for shader ATOM.EXCH instruction

* Shader cache version bump

* Check type
2024-09-18 15:48:55 -03:00
Ac_K
f831bb7154 New translations en_us.json (Thai) 2024-09-18 15:47:48 +02:00
Ac_K
94957926fe New translations en_us.json (Portuguese, Brazilian) 2024-09-18 15:47:47 +02:00
Ac_K
cfffad2038 New translations en_us.json (Chinese Traditional) 2024-09-18 15:47:46 +02:00
Ac_K
6105b358eb New translations en_us.json (Chinese Simplified) 2024-09-18 15:47:45 +02:00
Ac_K
e35f2a0c93 New translations en_us.json (Ukrainian) 2024-09-18 15:47:44 +02:00
Ac_K
040e79c494 New translations en_us.json (Turkish) 2024-09-18 15:47:43 +02:00
Ac_K
408bc9acf1 New translations en_us.json (Russian) 2024-09-18 15:47:42 +02:00
Ac_K
102219fd8c New translations en_us.json (Polish) 2024-09-18 15:47:40 +02:00
Ac_K
d2a17f0261 New translations en_us.json (Norwegian) 2024-09-18 15:47:39 +02:00
Ac_K
684678f662 New translations en_us.json (Korean) 2024-09-18 15:47:38 +02:00
Ac_K
fa832b0410 New translations en_us.json (Japanese) 2024-09-18 15:47:37 +02:00
Ac_K
c905646137 New translations en_us.json (Hebrew) 2024-09-18 15:47:36 +02:00
Ac_K
74099a712a New translations en_us.json (Greek) 2024-09-18 15:47:34 +02:00
Ac_K
48895217a8 New translations en_us.json (German) 2024-09-18 15:47:33 +02:00
Ac_K
1565408cb3 New translations en_us.json (Arabic) 2024-09-18 15:47:32 +02:00
Ac_K
44fc906f2f New translations en_us.json (Spanish) 2024-09-18 15:47:31 +02:00
Ac_K
41695b5f5d New translations en_us.json (French) 2024-09-18 15:47:29 +02:00
Ac_K
2885c3fdd1 New translations en_us.json (Italian) 2024-09-18 15:47:28 +02:00
gdkchan
062ef43eb4
Revert "Wait for async task to complete (#7122)" (#7318)
This reverts commit ccf96bf5e6.
2024-09-17 16:25:26 -03:00
gdkchan
eb8132b627
Change image format view handling to allow view incompatible formats (#7311)
* Allow creating texture aliases on texture pool

* Delete old image format override code

* New format incompatible alias

* Missing bounds check

* GetForBinding now takes FormatInfo

* Make FormatInfo struct more compact
2024-09-17 15:52:30 -03:00
TSRBerry
ccf96bf5e6
Wait for async task to complete (#7122)
This way exceptions thrown during the execution of CheckLaunchState()
will correctly invoke the unhandled exception handler
and cause Ryujinx to crash.
2024-09-17 15:42:00 -03:00