From: Timothy Arceri Date: Tue, 22 Aug 2017 23:10:27 +0000 (+1000) Subject: compiler: move pointers to the start of shader_info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ea3f757237d977adfb69293654522647d1812b3;p=mesa.git 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 --- 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 */