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:
authorNicholas Bishop <nicholasbishop@gmail.com>2015-01-24 15:43:57 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2015-01-26 18:35:31 +0300
commit27284e4f34d4ee0a79cbb2c4c587058b1bf7a03c (patch)
treea566f980a1fcbea8296686f9fa67b708ca72017d /source/blender/gpu/intern/gpu_codegen.h
parent8cafa0afa67c2d027fbd241b3cf3959571a43160 (diff)
Code cleanup: minor comment improvements
Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1026
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.h')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h
index cf9f4cc9c1b..abc5650059d 100644
--- a/source/blender/gpu/intern/gpu_codegen.h
+++ b/source/blender/gpu/intern/gpu_codegen.h
@@ -105,6 +105,8 @@ struct GPUNodeLink {
int dynamictype;
int type;
+
+ /* Refcount */
int users;
struct GPUTexture *dynamictex;
@@ -133,7 +135,7 @@ typedef struct GPUInput {
int source; /* data source */
int id; /* unique id as created by code generator */
- int texid; /* number for multitexture */
+ int texid; /* number for multitexture, starting from zero */
int attribid; /* id for vertex attributes */
int bindtex; /* input is responsible for binding the texture? */
int definetex; /* input is responsible for defining the pixel? */