This will allow us to easily skip them when writting the struct
to disk cache.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
#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 */