<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Ryujinx/src/Ryujinx.Graphics.Gpu/Image, branch master</title>
<subtitle>A backup of the Ryujinx master git branch.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/'/>
<entry>
<title>Convert MaxTextureCacheCapacity to Dynamic MaxTextureCacheCapacity for High Resolution Mod support. (#7307)</title>
<updated>2024-09-26T17:33:38+00:00</updated>
<author>
<name>MaxLastBreath</name>
<email>136052075+MaxLastBreath@users.noreply.github.com</email>
</author>
<published>2024-09-26T17:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=d86249cb0add1504c0d3a5c41527cbef43346742'/>
<id>d86249cb0add1504c0d3a5c41527cbef43346742</id>
<content type='text'>
* 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 &lt;gab.dark.100@gmail.com&gt;

* 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 &lt;gab.dark.100@gmail.com&gt;

* 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 &lt;gab.dark.100@gmail.com&gt;

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan &lt;gab.dark.100@gmail.com&gt;

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan &lt;gab.dark.100@gmail.com&gt;

---------

Co-authored-by: gdkchan &lt;gab.dark.100@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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 &lt;gab.dark.100@gmail.com&gt;

* 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 &lt;gab.dark.100@gmail.com&gt;

* 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 &lt;gab.dark.100@gmail.com&gt;

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan &lt;gab.dark.100@gmail.com&gt;

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan &lt;gab.dark.100@gmail.com&gt;

---------

Co-authored-by: gdkchan &lt;gab.dark.100@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for sampler sRGB disable (#7312)</title>
<updated>2024-09-19T17:38:30+00:00</updated>
<author>
<name>gdkchan</name>
<email>gab.dark.100@gmail.com</email>
</author>
<published>2024-09-19T17:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=24ee8c39f1fd8ae2dc2d92cda1cdb41e8af45f0a'/>
<id>24ee8c39f1fd8ae2dc2d92cda1cdb41e8af45f0a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace passing by IMemoryOwner&lt;byte&gt; with passing by concrete MemoryOwner&lt;byte&gt; (#7171)</title>
<updated>2024-09-19T02:00:54+00:00</updated>
<author>
<name>jhorv</name>
<email>38920027+jhorv@users.noreply.github.com</email>
</author>
<published>2024-09-19T02:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=73f985d27ca0c85f053e8b9494ba83a6c4d3afbf'/>
<id>73f985d27ca0c85f053e8b9494ba83a6c4d3afbf</id>
<content type='text'>
* refactor(perf): pass MemoryOwner&lt;byte&gt; around as itself rather than IMemoryOwner&lt;byte&gt;

* fix(perf): get span via MemoryOwner&lt;byte&gt;.Span property instead of through Memory property

* fix: incorrect comment change</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* refactor(perf): pass MemoryOwner&lt;byte&gt; around as itself rather than IMemoryOwner&lt;byte&gt;

* fix(perf): get span via MemoryOwner&lt;byte&gt;.Span property instead of through Memory property

* fix: incorrect comment change</pre>
</div>
</content>
</entry>
<entry>
<title>Change image format view handling to allow view incompatible formats (#7311)</title>
<updated>2024-09-17T18:52:30+00:00</updated>
<author>
<name>gdkchan</name>
<email>gab.dark.100@gmail.com</email>
</author>
<published>2024-09-17T18:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=eb8132b627d3c0285dd199f4e40c6f3800bdb22d'/>
<id>eb8132b627d3c0285dd199f4e40c6f3800bdb22d</id>
<content type='text'>
* 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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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</pre>
</div>
</content>
</entry>
<entry>
<title>Implement fast DMA texture to texture copy (#7299)</title>
<updated>2024-09-15T21:12:05+00:00</updated>
<author>
<name>gdkchan</name>
<email>gab.dark.100@gmail.com</email>
</author>
<published>2024-09-15T21:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=cd74ae1bbd491987d983bfff36545451e2e6764c'/>
<id>cd74ae1bbd491987d983bfff36545451e2e6764c</id>
<content type='text'>
* Implement fast DMA texture to texture copy

* PR feedback</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Implement fast DMA texture to texture copy

* PR feedback</pre>
</div>
</content>
</entry>
<entry>
<title>Fix incorrect depth texture 3D flag (#7262)</title>
<updated>2024-09-01T20:58:01+00:00</updated>
<author>
<name>gdkchan</name>
<email>gab.dark.100@gmail.com</email>
</author>
<published>2024-09-01T20:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=fdd7ee791cd37546390856f38eab16ea78451742'/>
<id>fdd7ee791cd37546390856f38eab16ea78451742</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix NRE when using buffer image array (#7159)</title>
<updated>2024-08-20T23:49:17+00:00</updated>
<author>
<name>gdkchan</name>
<email>gab.dark.100@gmail.com</email>
</author>
<published>2024-08-20T23:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=460f9faf4e3ccb5a21b1c6f149815dfda095a16e'/>
<id>460f9faf4e3ccb5a21b1c6f149815dfda095a16e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clamp amount of mipmap levels to max allowed for all backends (#7197)</title>
<updated>2024-08-12T20:45:25+00:00</updated>
<author>
<name>gdkchan</name>
<email>gab.dark.100@gmail.com</email>
</author>
<published>2024-08-12T20:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=4f75e26ec7e61e606f812bd0149eef69bdc8a4ea'/>
<id>4f75e26ec7e61e606f812bd0149eef69bdc8a4ea</id>
<content type='text'>
* Clamp amount of mipmap levels to max allowed for all backends

* XML docs

* Remove using</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Clamp amount of mipmap levels to max allowed for all backends

* XML docs

* Remove using</pre>
</div>
</content>
</entry>
<entry>
<title>replace ByteMemoryPool usage in Ryujinx.Graphics (#7129)</title>
<updated>2024-08-03T18:50:53+00:00</updated>
<author>
<name>jhorv</name>
<email>38920027+jhorv@users.noreply.github.com</email>
</author>
<published>2024-08-03T18:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=59ddb26628fc2ab94f1c274a254c76b3e368f8b6'/>
<id>59ddb26628fc2ab94f1c274a254c76b3e368f8b6</id>
<content type='text'>
* chore: replace `ByteMemoryPool` usage with `MemoryOwner&lt;byte&gt;`

* refactor: `PixelConverter.ConvertR4G4ToR4G4B4A4()` - rename old `outputSpan` to `outputSpanUInt16`, reuse same output `Span&lt;byte&gt;` as newly-freed name `outputSpan`

* eliminate temporary buffer allocations

* chore, perf: use MemoryOwner&lt;byte&gt; instead of IMemoryOwner&lt;byte&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* chore: replace `ByteMemoryPool` usage with `MemoryOwner&lt;byte&gt;`

* refactor: `PixelConverter.ConvertR4G4ToR4G4B4A4()` - rename old `outputSpan` to `outputSpanUInt16`, reuse same output `Span&lt;byte&gt;` as newly-freed name `outputSpan`

* eliminate temporary buffer allocations

* chore, perf: use MemoryOwner&lt;byte&gt; instead of IMemoryOwner&lt;byte&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Vulkan separate descriptor set fixes (#6895)</title>
<updated>2024-06-03T01:40:28+00:00</updated>
<author>
<name>gdkchan</name>
<email>gab.dark.100@gmail.com</email>
</author>
<published>2024-06-03T01:40:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benis.co.uk/Ryujinx/commit/?id=c0f2491eaee7eb1088605f5bda8055b941a14f99'/>
<id>c0f2491eaee7eb1088605f5bda8055b941a14f99</id>
<content type='text'>
* Ensure descriptor sets are only re-used when all command buffers using it have completed

* Fix some SPIR-V capabilities

* Set update after bind flag if we exceed limits

* Simpler fix for Intel

* Format whitespace

* Make struct readonly

* Add barriers for extra set arrays too</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Ensure descriptor sets are only re-used when all command buffers using it have completed

* Fix some SPIR-V capabilities

* Set update after bind flag if we exceed limits

* Simpler fix for Intel

* Format whitespace

* Make struct readonly

* Add barriers for extra set arrays too</pre>
</div>
</content>
</entry>
</feed>
