glsl: update comment on offset field
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 30 Dec 2015 04:03:41 +0000 (15:03 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 5 Mar 2016 08:38:39 +0000 (19:38 +1100)
The old comment was for the location not the offset, we now use
the field for block members so mention that also.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/compiler/glsl/ir.h

index f6ed16de0c306be2941a3ce11169dae4d6b61bc6..f4519679ff3a6d7659a361261c6f7e62d6b2cbd8 100644 (file)
@@ -866,7 +866,7 @@ public:
       unsigned stream;
 
       /**
-       * Location an atomic counter is stored at.
+       * Atomic or block member offset.
        */
       unsigned offset;