Cleanup: replace attrib w/ attr
[blender.git] / source / blender / gpu / GPU_shader_interface.h
index 0559a72..8d94c07 100644 (file)
@@ -69,9 +69,12 @@ typedef struct GPUShaderInput {
        struct GPUShaderInput *next;
        uint32_t name_offset;
        uint name_hash;
-       GPUUniformBuiltin builtin_type; /* only for uniform inputs */
-       uint32_t gl_type; /* only for attrib inputs */
-       int32_t size; /* only for attrib inputs */
+       /** Only for uniform inputs. */
+       GPUUniformBuiltin builtin_type;
+       /** Only for attribute inputs. */
+       uint32_t gl_type;
+       /** Only for attribute inputs. */
+       int32_t size;
        int32_t location;
 } GPUShaderInput;
 
@@ -81,7 +84,7 @@ typedef struct GPUShaderInput {
 typedef struct GPUShaderInterface {
        int32_t program;
        uint32_t name_buffer_offset;
-       GPUShaderInput *attrib_buckets[GPU_NUM_SHADERINTERFACE_BUCKETS];
+       GPUShaderInput *attr_buckets[GPU_NUM_SHADERINTERFACE_BUCKETS];
        GPUShaderInput *uniform_buckets[GPU_NUM_SHADERINTERFACE_BUCKETS];
        GPUShaderInput *ubo_buckets[GPU_NUM_SHADERINTERFACE_BUCKETS];
        GPUShaderInput *builtin_uniforms[GPU_NUM_UNIFORMS];