glretrace: Move format-related code to new file.
glstate: Recognize more internal formats.
glstate: Dump images with floats depending on the internal format.
specs: Recognize core geometry shader parameters.