I know what intermediate representation is. TGSI, LLVM IRs, AMD IL - they all are documented and their usage is clear enough. My question is what exactly GLSL IR is and where is it documented.
Here, for example, it's mentioned that ARB assembly language itself is used as an IR. And
here such things as High level IR, Mesa IR and GLSL IR are mentioned.
In
this "GLSL IR to TSGI" message the example code seems to be ARB assembly. But the words "compiling assembly shaders (e.g. GL_ARB_vertex_program) to GLSL IR" clearly state that these two are not equal.