[Mesa-dev] [PATCH 4/7] glsl: update comment on offset field

Timothy Arceri timothy.arceri at collabora.com
Sun Jan 10 19:13:09 PST 2016


The old comment was for the location not the offset, we now use
the field for block members so mention that also.
---
 src/glsl/ir.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 7f5441f..b56ae8c 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -874,7 +874,7 @@ public:
       unsigned stream;
 
       /**
-       * Location an atomic counter is stored at.
+       * Atomic or block member offset.
        */
       unsigned offset;
 
-- 
2.4.3



More information about the mesa-dev mailing list