diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_private.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_private.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.h b/source/blender/gpu/intern/gpu_shader_private.h index d5193e09aa4..10ffc17f0d5 100644 --- a/source/blender/gpu/intern/gpu_shader_private.h +++ b/source/blender/gpu/intern/gpu_shader_private.h @@ -25,6 +25,7 @@ #pragma once #include "GPU_glew.h" +#include "gawain/shader_interface.h" struct GPUShader { GLuint program; /* handle for full program (links shader stages below) */ @@ -33,8 +34,8 @@ struct GPUShader { GLuint geometry; /* handle for geometry shader */ GLuint fragment; /* handle for fragment shader */ - int totattrib; /* total number of attributes */ - int uniforms; /* required uniforms */ - void *uniform_interface; /* cached uniform interface for shader. Data depends on shader */ + /* NOTE: ^-- only FX compositing shaders use this */ + + ShaderInterface *interface; /* cached uniform & attrib interface for shader */ }; |