Skip to content

intel: properly constify isl_format_layouts

Adam Jackson requested to merge ajax/mesa:isl-dotdata-shrink into main

Putting a const char * in the struct means it's a pointer that has to be resolved at rtld time, which means it can be in .data.rel.ro but not .rodata like you'd hope. Fix this with the usual string table trick.

Cuts about 20k (-80k read-write +60k read-only) and ~280 relocations from the gallium driver.

Merge request reports