glsl: silence signed/unsigned comparison warning
[mesa.git] / src / compiler / shader_info.h
index a67084156dd03d77988180b1deed6e009cce00bc..38413940d678af17359ffe9a2af66c2f0e7f9271 100644 (file)
@@ -32,14 +32,14 @@ extern "C" {
 #endif
 
 typedef struct shader_info {
-   /** The shader stage, such as MESA_SHADER_VERTEX. */
-   gl_shader_stage stage;
-
    const char *name;
 
    /* Descriptive name provided by the client; may be NULL */
    const char *label;
 
+   /** The shader stage, such as MESA_SHADER_VERTEX. */
+   gl_shader_stage stage;
+
    /* Number of textures used by this shader */
    unsigned num_textures;
    /* Number of uniform buffers used by this shader */