gx2gl brings an OpenGL 3.3 Core layer to the Wii U
gx2gl translates OpenGL 3.3 calls into Nintendo's GX2 API on the Wii U. It is not fully conformant yet and lacks geometry shaders.
A forum user going by siahisaforker has released gx2gl, an OpenGL 3.3 Core implementation for the Wii U, on GitHub. The project translates OpenGL calls into GX2 operations. GX2 is Nintendo’s proprietary graphics API, and the Wii U does not run OpenGL natively. Anyone porting an OpenGL game or app has usually had to write a separate renderer for the console. gx2gl aims to let developers reuse their existing OpenGL rendering code.
The author says the project now covers shaders, textures, framebuffers, vertex arrays, buffer objects and other parts of the API. It is not fully conformant yet. Geometry shaders are missing, and there are compatibility issues. The author uses Khronos CTS to work on correctness.
The post warns that the build behaves oddly in Cemu, the Wii U emulator, so test on real hardware first. The post was shared on GBAtemp, where the author also said they will eventually write an AI use guideline. The thread does not say when geometry shaders will arrive.
