Themaister / parallel-rdp

A low-level Vulkan compute emulation of the N64 RDP
MIT License
157 stars 15 forks source link

Broken rendering under Asahi Linux (M1 GPU) when compiling with gcc #67

Open jcm93 opened 3 days ago

jcm93 commented 3 days ago

Rendering is broken under Asahi; it seems like certain 2D elements work, but anything 3D fails to render.

Screenshot_20241116_225321 image

The console output only mentions some stalled compiles; let me know if there's anything in particular I can do to help debug!

jcm93 commented 2 days ago

Screenshot_20241117_172157 With PARALLEL_RDP_SMALL_TYPES=0 we get some other interesting broken output.

jcm93 commented 4 hours ago

Have narrowed this down to gcc; it is not actually a driver issue. Clang is fine; gcc without optimizations is fine. UB sanitizer does not reveal anything illuminating. Still investigating.