Skip to content

u_format: Mark the generated pack/unpack src/dst args as restrict.

Emma Anholt requested to merge anholt/mesa:u_format_restrict into master

Calling code to pack/unpack with overlap would be already be undefined.

Cuts 50k of text on x86_64 release builds from the compiler having more freedom in the src/dst loads knowing that they don't interfere with each other.

Merge request reports