Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_private.h')
-rw-r--r--source/blender/gpu/intern/gpu_shader_private.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.h b/source/blender/gpu/intern/gpu_shader_private.h
index 69c0c41cef4..01a7f38efed 100644
--- a/source/blender/gpu/intern/gpu_shader_private.h
+++ b/source/blender/gpu/intern/gpu_shader_private.h
@@ -29,13 +29,18 @@
#include "GPU_shader_interface.h"
struct GPUShader {
- GLuint program; /* handle for full program (links shader stages below) */
-
- GLuint vertex; /* handle for vertex shader */
- GLuint geometry; /* handle for geometry shader */
- GLuint fragment; /* handle for fragment shader */
-
- GPUShaderInterface *interface; /* cached uniform & attrib interface for shader */
+ /** Handle for full program (links shader stages below). */
+ GLuint program;
+
+ /** Handle for vertex shader. */
+ GLuint vertex;
+ /** Handle for geometry shader. */
+ GLuint geometry;
+ /** Handle for fragment shader. */
+ GLuint fragment;
+
+ /** Cached uniform & attribute interface for shader. */
+ GPUShaderInterface *interface;
int feedback_transform_type;
#ifndef NDEBUG