summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/shader_info.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index a67084156dd..38413940d67 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -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 */