<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eglantine-cirakg/src/video_core/rasterizer_accelerated.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>2025-05-07T00:59:19+00:00</updated>
<entry>
<title>revert 8390c7dff7038b55f31388f79d67e24d4328fbfd</title>
<updated>2025-05-07T00:59:19+00:00</updated>
<author>
<name>JPikachu</name>
<email>jpikachu.eden@gmail.com</email>
</author>
<published>2025-05-05T00:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=82c89b7bc313b8653a20fbaa8362a839645fd58e'/>
<id>urn:sha1:82c89b7bc313b8653a20fbaa8362a839645fd58e</id>
<content type='text'>
revert Add rasterizer_accelerated (#79)

Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
</content>
</entry>
<entry>
<title>Add rasterizer_accelerated (#79)</title>
<updated>2025-05-07T00:58:48+00:00</updated>
<author>
<name>JPikachu</name>
<email>jpikachu@noreply.localhost</email>
</author>
<published>2025-05-04T18:31:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=c8e2accf557a69d1ccd16f115bcdf19f04870c16'/>
<id>urn:sha1:c8e2accf557a69d1ccd16f115bcdf19f04870c16</id>
<content type='text'>
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/79
Co-authored-by: JPikachu &lt;jpikachu@noreply.localhost&gt;
Co-committed-by: JPikachu &lt;jpikachu@noreply.localhost&gt;
</content>
</entry>
<entry>
<title>SMMU: Initial adaptation to video_core.</title>
<updated>2024-01-19T02:12:30+00:00</updated>
<author>
<name>Fernando Sahmkow</name>
<email>fsahmkow27@gmail.com</email>
</author>
<published>2023-12-25T06:32:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=9db159da71875db9d9b9fbb7697fc2c2f9575cf2'/>
<id>urn:sha1:9db159da71875db9d9b9fbb7697fc2c2f9575cf2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "video_core: use interval map for page count tracking"</title>
<updated>2023-12-17T23:59:49+00:00</updated>
<author>
<name>liamwhite</name>
<email>liamwhite@users.noreply.github.com</email>
</author>
<published>2023-12-17T23:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=4504ee7f2861dfe38496786be2665e31831ed13e'/>
<id>urn:sha1:4504ee7f2861dfe38496786be2665e31831ed13e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>video_core: lock interval map update</title>
<updated>2023-12-15T03:10:21+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2023-12-15T02:41:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=eb6a042654f9fcd352a68badd78952bc9e3f28eb'/>
<id>urn:sha1:eb6a042654f9fcd352a68badd78952bc9e3f28eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>video_core: use interval map for page count tracking</title>
<updated>2023-12-15T02:54:36+00:00</updated>
<author>
<name>Liam</name>
<email>byteslice@airmail.cc</email>
</author>
<published>2023-12-12T22:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=7fa76caf8017abcfb546a2a743a347e6130f7d51'/>
<id>urn:sha1:7fa76caf8017abcfb546a2a743a347e6130f7d51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes and workarounds to make UBSan happier on macOS</title>
<updated>2023-07-15T19:00:28+00:00</updated>
<author>
<name>comex</name>
<email>comexk@gmail.com</email>
</author>
<published>2023-07-01T22:00:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=85d77f636c7ab28ea67c4c303f5d85b063ceed73'/>
<id>urn:sha1:85d77f636c7ab28ea67c4c303f5d85b063ceed73</id>
<content type='text'>
There are still some other issues not addressed here, but it's a start.

Workarounds for false-positive reports:

- `RasterizerAccelerated`: Put a gigantic array behind a `unique_ptr`,
  because UBSan has a [hardcoded limit](https://stackoverflow.com/questions/64531383/c-runtime-error-using-fsanitize-undefined-object-has-a-possibly-invalid-vp)
  of how big it thinks objects can be, specifically when dealing with
  offset-to-top values used with multiple inheritance.  Hopefully this
  doesn't have a performance impact.

- `QueryCacheBase::QueryCacheBase`: Avoid an operation that UBSan thinks
  is UB even though it at least arguably isn't.  See the link in the
  comment for more information.

Fixes for correct reports:

- `PageTable`, `Memory`: Use `uintptr_t` values instead of pointers to
  avoid UB from pointer overflow (when pointer arithmetic wraps around
  the address space).

- `KScheduler::Reload`: `thread-&gt;GetOwnerProcess()` can be `nullptr`;
  avoid calling methods on it in this case.  (The existing code returns
  a garbage reference to a field, which is then passed into
  `LoadWatchpointArray`, and apparently it's never used, so it's
  harmless in practice but still triggers UBSan.)

- `KAutoObject::Close`: This function calls `this-&gt;Destroy()`, which
  overwrites the beginning of the object with junk (specifically a free
  list pointer).  Then it calls `this-&gt;UnregisterWithKernel()`.  UBSan
  complains about a type mismatch because the vtable has been
  overwritten, and I believe this is indeed UB.  `UnregisterWithKernel`
  also loads `m_kernel` from the 'freed' object, which seems to be
  technically safe (the overwriting doesn't extend as far as that
  field), but seems dubious.  Switch to a `static` method and load
  `m_kernel` in advance.
</content>
</entry>
<entry>
<title>code: dodge PAGE_SIZE #define</title>
<updated>2022-08-19T23:08:40+00:00</updated>
<author>
<name>Kyle Kienapfel</name>
<email>Docteh@users.noreply.github.com</email>
</author>
<published>2022-08-18T23:28:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=ea00332a670c6d0a6ab2b9a370e5f7a39dfbabba'/>
<id>urn:sha1:ea00332a670c6d0a6ab2b9a370e5f7a39dfbabba</id>
<content type='text'>
Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number
This is great except in yuzu we're using PAGE_SIZE as a variable

Specific example
`static constexpr u64 PAGE_SIZE = u64(1) &lt;&lt; PAGE_BITS;`

PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables.
Simply deleted the underscores, and then added YUZU_ prefix

Might be worth noting that there are multiple uses in different classes/namespaces
This list may not be exhaustive

Core::Memory   12 bits (4096)
QueryCacheBase 12 bits
ShaderCache    14 bits (16384)
TextureCache   20 bits (1048576, or 1MB)

Fixes #8779
</content>
</entry>
<entry>
<title>general: Convert source file copyright comments over to SPDX</title>
<updated>2022-04-23T09:55:32+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2022-04-23T08:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=2b87305d319f0bd04da36fb96314934f37b12637'/>
<id>urn:sha1:2b87305d319f0bd04da36fb96314934f37b12637</id>
<content type='text'>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</content>
</entry>
<entry>
<title>rasterizer: Update pages in batches</title>
<updated>2021-06-11T15:27:17+00:00</updated>
<author>
<name>ReinUsesLisp</name>
<email>reinuseslisp@airmail.cc</email>
</author>
<published>2021-06-06T23:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cirakg.xyz/eglantine-cirakg/commit/?id=57252b0c1dda12f47fd72e48867bb96bb77b67a9'/>
<id>urn:sha1:57252b0c1dda12f47fd72e48867bb96bb77b67a9</id>
<content type='text'>
</content>
</entry>
</feed>
