Commit 449ac347 authored by Dave Airlie's avatar Dave Airlie

mesa/mtypes: reorganise gl_shader

This reduces this from 200->182 bytes.
Reviewed-by: Thomas Helland's avatarThomas Helland <>
Reviewed-by: default avatarMarek Olšák <>
Reviewed-by: Timothy Arceri's avatarTimothy Arceri <>
Reviewed-by: Samuel Pitoiset's avatarSamuel Pitoiset <>
Signed-off-by: default avatarDave Airlie <>
parent a53c63e4
......@@ -2567,9 +2567,10 @@ struct gl_shader
GLchar *Label; /**< GL_KHR_debug */
unsigned char sha1[20]; /**< SHA1 hash of pre-processed source */
GLboolean DeletePending;
enum gl_compile_status CompileStatus;
bool IsES; /**< True if this shader uses GLSL ES */
enum gl_compile_status CompileStatus;
#ifdef DEBUG
unsigned SourceChecksum; /**< for debug/logging purposes */
......@@ -2581,14 +2582,14 @@ struct gl_shader
unsigned Version; /**< GLSL version used for linking */
struct exec_list *ir;
struct glsl_symbol_table *symbols;
* A bitmask of gl_advanced_blend_mode values
GLbitfield BlendSupport;
struct exec_list *ir;
struct glsl_symbol_table *symbols;
* Whether early fragment tests are enabled as defined by
* ARB_shader_image_load_store.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment