<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eglantine-cirakg/src/video_core/texture_cache/image_info.cpp, branch nx2</title>
<subtitle>Mirror of github.com/cira0100/Eglantine-public nx2, a fork of Djihads80/Eglantine.</subtitle>
<id>https://git.cirakg.xyz/eglantine-cirakg/atom?h=nx2</id>
<link rel='self' href='https://git.cirakg.xyz/eglantine-cirakg/atom?h=nx2'/>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/'/>
<updated>2026-10-28T19:19:44+00:00</updated>
<entry>
<title>Fix the P6 scratch save in R2UR/MATCH/HFMA2.RELU; GPU memory dump tool</title>
<updated>2026-10-28T19:19:44+00:00</updated>
<author>
<name>Takoroka</name>
<email>137927095+Takoroka@users.noreply.github.com</email>
</author>
<published>2026-10-28T19:19:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=8393e2912616ce475619900be8cb29e551ff2997'/>
<id>urn:sha1:8393e2912616ce475619900be8cb29e551ff2997</id>
<content type='text'>
The colour cast on title 1 (magenta/cyan, then red/green, changing per
course) came from the sky/atmosphere volume shader (a pixel shader drawing
a 32^3 RGBA16F table slice by slice), which starts with an unguarded R2UR.
R2UR, MATCH and HFMA2.RELU use P6 as scratch and saved/restored it with the
uniform-guard mask, 1 &lt;&lt; (6 - 7) for an unguarded instruction: undefined, in
practice bit 31, which shifted into the opcode bits and turned the save into
another instruction. They now always save and restore P6.

Debugging aids used to find it:
- EDEN_NX2_DUMP=&lt;present&gt;:&lt;addr&gt;:&lt;size&gt;,...: flush GPU memory ranges at a
  present (on the GPU thread) and save them next to the frame captures;
  nx2work/vol3d.py untiles Switch 2 3D textures from such dumps.
- GPU::RunOnGpuThread.
- Logs of Switch 2 3D images and descriptors.
</content>
</entry>
<entry>
<title>[vulkan] 4th Vulkan Global Maintenance (#4212)</title>
<updated>2026-07-16T18:56:00+00:00</updated>
<author>
<name>CamilleLaVey</name>
<email>camillelavey99@gmail.com</email>
</author>
<published>2026-07-16T18:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=eb9280dedfb5e49e17a0bb586c2be87c4b769625'/>
<id>urn:sha1:eb9280dedfb5e49e17a0bb586c2be87c4b769625</id>
<content type='text'>
The approach on this PR moves around refactoring/ updating residual work; main issue was the whole logic behind msaa upload/download images with the constant image copy per pass required; which was gated via shaderStorageImageMultisample, which is not available on all the platforms supported including Android, making them to rely into a more heavier approach to convert msaa image copy into a non msaa image copy, not only losing precision in the conversion, but also creating bugs around the resolve of the image itself, if the supported path had to copy 2 times the same image to be actually presentable, when the fallback was enabled 3 copies were performed, not only decreasing the performance but also increasing race conditions due to the certain capabilities processed in this chain (storage_views). In order to resolve them more naturally, the constant copies were removed from the now "common" path along establishing a proper color resolve for Android and actually making them more direct.

Yet this opened a new pack of outdated handling on our current backend; since we now pass msaa images more directly (whenever a game request a msaa type of image/ which seems to be not common + each fragment resolves images on how it's actually required, adding missing depth/stencil), how we often load and store them becomes a critical issue, since our current configuration renderpass/framebuffer forces to always load and load clear whenever a new attachment it's passing through the renderpass, making this really heavier on memory bandwidth limited devices as SteamDeck and others that doesn't rely on the inmediate rendering mode (Tilers vs iGPU); to prevent over allocating data, I had to re-structure part of the current renderpass and framebuffer to actually reuse part of the data/ attachments called, with flags as DON'T_CARE, simplifying partially on how we actually call attachments including their barriers and conditions (occlusion, etc), the DON'T_CARE it's specifically useful to not only prevent calling new loads (which is a flush and heavier on tiler devices) and not only reusing the actual data store, which works on the future time, this saves memory bandwidth and gives space to actually avoid the constant pressure on SYSMEM/GMEM shader resolver path.

This maintenance also improved the current removal features logic on QCOM drivers, closing gaps between implementations on descriptors (VK_EXT_indexing_descriptor), adjusting the whole WMEL to avoid being so stricter if certain capabilities are missing to actually use this feature, leading to test and play more on how QCOM drivers are actually behaving; meanwhile the main objective is to open path for a robust and bigger implementation in the future, the changes made here also contains small bug fixes on SPIR-V logic, adding missing cases to resolve shaders (FP64 -&gt; FP16), adding more robustness on how narrow features are actually being used and how to wired them whenever they're not available, meanwhile there are still some issues in regards on how Tegra vs Adreno can preserve unorms at FP32 and FP16, leaving better understanding on base for what VK_EXT_shader_float_controls is actually doing most of the times (flushes NaN's and Denorms equally).

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4212
</content>
</entry>
<entry>
<title>[video_core] Remove redundant check on image_view and image_view_info (#2891)</title>
<updated>2025-10-30T02:45:43+00:00</updated>
<author>
<name>MaranBr</name>
<email>maranbr@outlook.com</email>
</author>
<published>2025-10-30T02:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=06275885f1897e68483d7752200446e35eedd2cd'/>
<id>urn:sha1:06275885f1897e68483d7752200446e35eedd2cd</id>
<content type='text'>
This removes a redundant check on image_view and image_view_info. This check is not needed here.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2891
Co-authored-by: MaranBr &lt;maranbr@outlook.com&gt;
Co-committed-by: MaranBr &lt;maranbr@outlook.com&gt;
</content>
</entry>
<entry>
<title>[video_core] Fix regression on image_view and image_view_info (#2873)</title>
<updated>2025-10-28T23:07:13+00:00</updated>
<author>
<name>MaranBr</name>
<email>maranbr@outlook.com</email>
</author>
<published>2025-10-28T23:07:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=83c162d80d371c455d84b4ee62b88cc6db05311a'/>
<id>urn:sha1:83c162d80d371c455d84b4ee62b88cc6db05311a</id>
<content type='text'>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2873
Reviewed-by: Lizzie &lt;lizzie@eden-emu.dev&gt;
Reviewed-by: crueter &lt;crueter@eden-emu.dev&gt;
Co-authored-by: MaranBr &lt;maranbr@outlook.com&gt;
Co-committed-by: MaranBr &lt;maranbr@outlook.com&gt;
</content>
</entry>
<entry>
<title>[video_core] Fix more edge cases in image_view and image_view_info (#2853)</title>
<updated>2025-10-28T03:25:23+00:00</updated>
<author>
<name>MaranBr</name>
<email>maranbr@outlook.com</email>
</author>
<published>2025-10-28T03:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=b2ac18173fe18473b3386f0e4849caa33b27304f'/>
<id>urn:sha1:b2ac18173fe18473b3386f0e4849caa33b27304f</id>
<content type='text'>
This fixes more edge cases where incorrect textures were used in image_view and image_view_info.

Complement to PR 2830.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2853
Reviewed-by: crueter &lt;crueter@eden-emu.dev&gt;
Co-authored-by: MaranBr &lt;maranbr@outlook.com&gt;
Co-committed-by: MaranBr &lt;maranbr@outlook.com&gt;
</content>
</entry>
<entry>
<title>[video_core] Improve texture rendering (#2830)</title>
<updated>2025-10-26T00:14:45+00:00</updated>
<author>
<name>MaranBr</name>
<email>maranbr@outlook.com</email>
</author>
<published>2025-10-26T00:14:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=73ebf59af77a81edee6c276a8c0f7e533a5948b2'/>
<id>urn:sha1:73ebf59af77a81edee6c276a8c0f7e533a5948b2</id>
<content type='text'>
This fixes some edge cases and improves texture rendering, bringing it closer to specifications. This fixes many assertions that occur in some games, such as EOW.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2830
Reviewed-by: Maufeat &lt;sahyno1996@gmail.com&gt;
Co-authored-by: MaranBr &lt;maranbr@outlook.com&gt;
Co-committed-by: MaranBr &lt;maranbr@outlook.com&gt;
</content>
</entry>
<entry>
<title>[video_core] Better error messages (#2827)</title>
<updated>2025-10-24T09:35:33+00:00</updated>
<author>
<name>MaranBr</name>
<email>maranbr@outlook.com</email>
</author>
<published>2025-10-24T09:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=cd4bcb91ccc485a751c276616ef74d56d318f121'/>
<id>urn:sha1:cd4bcb91ccc485a751c276616ef74d56d318f121</id>
<content type='text'>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2827
Reviewed-by: Maufeat &lt;sahyno1996@gmail.com&gt;
Reviewed-by: Lizzie &lt;lizzie@eden-emu.dev&gt;
Co-authored-by: MaranBr &lt;maranbr@outlook.com&gt;
Co-committed-by: MaranBr &lt;maranbr@outlook.com&gt;
</content>
</entry>
<entry>
<title>[Textures] Normalize 1D TICs that use layers to 1DArray; (#274)</title>
<updated>2025-08-19T00:28:17+00:00</updated>
<author>
<name>wildcard</name>
<email>wildcard@eden-emu.dev</email>
</author>
<published>2025-08-19T00:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=12f5a96f01214a94fc07a6120c940004c4e36e40'/>
<id>urn:sha1:12f5a96f01214a94fc07a6120c940004c4e36e40</id>
<content type='text'>
Some TIC entries are tagged Texture1D but actually use array layers so previously it was marked as simple 1D and hence the assert, this fixes the said issue(Depth &gt; 1 or baseLayer != 0).
Games fixed- God Eater 3

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/274
Reviewed-by: Shinmegumi &lt;shinmegumi@eden-emu.dev&gt;
Co-authored-by: wildcard &lt;wildcard@eden-emu.dev&gt;
Co-committed-by: wildcard &lt;wildcard@eden-emu.dev&gt;
</content>
</entry>
<entry>
<title>Update fmt to allow for v11</title>
<updated>2025-04-09T23:11:22+00:00</updated>
<author>
<name>crueter</name>
<email>swurl@swurl.xyz</email>
</author>
<published>2025-04-09T23:11:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=9cef9f5dce7c41c9ab2ea5b9b8a294228a535c4c'/>
<id>urn:sha1:9cef9f5dce7c41c9ab2ea5b9b8a294228a535c4c</id>
<content type='text'>
Signed-off-by: swurl &lt;swurl@swurl.xyz&gt;</content>
</entry>
<entry>
<title>Texture Cache: Fix untracking on GPU remap</title>
<updated>2024-02-10T13:49:49+00:00</updated>
<author>
<name>Fernando Sahmkow</name>
<email>fsahmkow27@gmail.com</email>
</author>
<published>2024-02-10T13:49:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=75847f0e8b8849e27e204df219a153cf27e63af9'/>
<id>urn:sha1:75847f0e8b8849e27e204df219a153cf27e63af9</id>
<content type='text'>
</content>
</entry>
</feed>
