Andrew Kelley 1/18/2017

Troubleshooting a Zig Regression with apitrace

Read Original

The article describes a technical debugging session where the author, after a significant rewrite of the Zig compiler's internals, uses apitrace to compare OpenGL calls. A Tetris game revealed a visual regression, and the investigation traced the issue to how compile-time constant 2D arrays are laid out in memory, leading to a fix in the compiler's code generation.

Troubleshooting a Zig Regression with apitrace

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week