diff options
author | Timothy Arceri <[email protected]> | 2017-08-23 09:10:27 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-08-24 11:18:48 +1000 |
commit | 3ea3f757237d977adfb69293654522647d1812b3 (patch) | |
tree | 0faf60c989c686a7b922e519d4795b2e5ba6cd26 | |
parent | 44918a197905e4e9d09e32b7d07945948ca2da07 (diff) |
compiler: move pointers to the start of shader_info
This will allow us to easily skip them when writting the struct
to disk cache.
Reviewed-by: Samuel Pitoiset <[email protected]>
-rw-r--r-- | src/compiler/shader_info.h | 6 |
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 */ |