The OpenGL Shading Language (GLSL) is a C-like language used to write vertex and fragment shaders for OpenGL. While there are no official extensions for source code files (AFAIK), '.vert' and '.frag' are commonly used for vertex and fragment shader sources respectively.
Created attachment 4990 [details] [review] Patch to freedesktop.org.xml Adds 2 new MIME types: 1. text/x-glslvert: Vertex shaders (*.vert) 2. text/x-glslfrag: Fragment shaders (*.frag)
The patch should be generated against freedesktop.org.xml.in It should use <_comment> instead of <comment>, so it can be translated. It should define the GLSL acronym using something like: <acronym>GLSL</acronym> <expanded-acronym>OpenGL Shading Language</expanded-acronym> Chong: could you please fix your patch according to the previous comments?
This doesn't look very useful to the general users, and those file types would probably already be detected as text files, or C files to open them in text editors.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.