summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-11-30 10:38:55 +0100
committerNicolai Hähnle <[email protected]>2016-12-12 09:03:47 +0100
commit173d80b40159669b303ea19e8b6abd24d7fce39b (patch)
treeca4e28a59a1edb334ad856c60d21038935b3b4ed /src/compiler/glsl/ir.h
parent6092169b96edb1eb85fd195c426858d4430f9bb3 (diff)
glsl: remember per-component vertex streams for packed varyings
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r--src/compiler/glsl/ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index 24f510ea990..df3ccfd883f 100644
--- a/src/compiler/glsl/ir.h
+++ b/src/compiler/glsl/ir.h
@@ -917,6 +917,9 @@ public:
/**
* Vertex stream output identifier.
+ *
+ * For packed outputs, bit 31 is set and bits [2*i+1,2*i] indicate the
+ * stream of the i-th component.
*/
unsigned stream;