summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2015-12-30 15:03:41 +1100
committerTimothy Arceri <[email protected]>2016-03-05 19:38:39 +1100
commite12a49ac1289ab7fbac92761cde1534f042103cd (patch)
tree2503a4e3e1e121073751f6b6af6be9e66cc5c2a9 /src/compiler
parent9f24f42c491221a79641a0d810f9c78393d81e5c (diff)
glsl: update comment on offset field
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 <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index f6ed16de0c3..f4519679ff3 100644
--- a/src/compiler/glsl/ir.h
+++ b/src/compiler/glsl/ir.h
@@ -866,7 +866,7 @@ public:
unsigned stream;
/**
- * Location an atomic counter is stored at.
+ * Atomic or block member offset.
*/
unsigned offset;