not-fl3 / not-fl3/macroquad

MSAA arm86 > opengl translation miss

Open
#1,069 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.6k
Forks
425
PR merge metrics
No merged PRs in 30d

Description

I had a pretty specific issue where emulators that have to translate arm86 > opengl for android were reading miniquads sample_count=1 as requesting MSAA and crashing.

I've bypassed this for now by writing a simple "sample_count:0," in main.rs but it's not the cleanest solution.

Apparantly some devices read miniquads sample_count=1 as direct request for MSAA=1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the sample_count workaround described in main.rs and trace how that value reaches the Android/OpenGL path. Compare sample_count values on an affected ARM Android emulator; done means sample_count=1 no longer incorrectly requests MSAA or causes a crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, rust
Domain
computer-graphics, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.