glsl: Record in gl_shader_program whether the program uses GLSL ES.
[mesa.git] / src / mesa / main / mtypes.h
index a43c94e6a04829b91649e87a73398c687d12401f..b353e7026f5f296f7d587ec0870c40747dcf5899 100644 (file)
@@ -2389,6 +2389,7 @@ struct gl_shader_program
    GLchar *InfoLog;
 
    unsigned Version;       /**< GLSL version used for linking */
+   GLboolean IsES;         /**< True if this program uses GLSL ES */
 
    /**
     * Per-stage shaders resulting from the first stage of linking.