mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
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 <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
44918a1979
commit
3ea3f75723
1 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue