The first conformant M1 GPU driver (rosenzweig.io)
from tedu@azorius.net to programming@azorius.net on 22 Aug 2023 17:36
https://azorius.net/g/programming/p/r6G4Fhy3Gtx8H85n3n-The-first-conformant-M1-GPU-driver

Conformant OpenGL® ES 3.1 drivers are now available for M1- and M2-family GPUs. That means the drivers are compatible with any OpenGL ES 3.1 application. Interested? Just install Linux!

We could stop here, but what if there’s a dedicated instruction to interleave bits? PowerVR has a “shuffle” instruction shfl, and the M1 GPU borrows from PowerVR. Perhaps that instruction was borrowed too. Unfortunately, even if it was, the proprietary compiler won’t use it when compiling our test shaders. That makes it difficult to reverse-engineer the instruction – if it exists – by observing compiled shaders.

#graphics #programming

threaded - newest