Quantcast
Channel: Recent Commits to mojoshader:main
Viewing all articles
Browse latest Browse all 350

metal: Group all uniform arrays into one struct with explicit array sizes.

$
0
0
metal: Group all uniform arrays into one struct with explicit array sizes.

This lets the Metal compiler know more about the data (such as array
overflow risks and maybe optimization strategies), but also lets us
mush all uniforms into one buffer index instead of splitting them across
three.

Viewing all articles
Browse latest Browse all 350

Trending Articles