]> git.cworth.org Git - apitrace/blob - apigen/sort.sh
Handle vertex attriv locations correctly.
[apitrace] / apigen / sort.sh
1 #!/bin/sh
2 sed -e 's/\(^.*#\) \(0x\w\+\)$/\2 \1/' "$@" | sort | sed -e 's/\(0x\w\+\) \(.*#\)$/\2 \1/'