Skip to content

atirage: Support non-32bpp rectangle fills#189

Merged
dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-atirage-fill_rect
Jul 5, 2026
Merged

atirage: Support non-32bpp rectangle fills#189
dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-atirage-fill_rect

Conversation

@mihaip

@mihaip mihaip commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

ATIRage::fill_rect warned about non-ARGB8888 pixel formats but still continued through the 32bpp write loop. Observed when I got an ASan violation about an out-of-bounds write (of the 2MB VRAM when trying to boot the Mac OS X 10.0 Public Beta on the Beige G3 - at some point it switches the framebuffer to RGB555).

Also adds some named enum values for the pixel formats to make things a bit more self-documenting.

`ATIRage::fill_rect` warned about non-ARGB8888 pixel formats but still
continued through the 32bpp write loop. Observed when I got an ASan
violation about an out-of-bounds write (of the 2MB VRAM when trying to
boot the Mac OS X 10.0 Public Beta on the Beige G3 - at some point it
switches the framebuffer to RGB555).

Also adds some named enum values for the pixel formats to make things a
bit more self-documenting.
@dingusdev dingusdev merged commit efa9d1c into dingusdev:master Jul 5, 2026
7 checks passed
@mihaip mihaip deleted the upstream-atirage-fill_rect branch July 5, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants