summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_to_nir.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-11-07 13:56:08 +1100
committerTimothy Arceri <[email protected]>2017-11-12 11:08:26 +1100
commit8c9f3f2c46653a94be9ded38763f81da20183e08 (patch)
tree7db420004c659a2c3fd4ae5638d483f1062c4bb4 /src/compiler/glsl/glsl_to_nir.cpp
parent3a71eac783ea5a1c16772f8ec91c4a01ca32504d (diff)
nir: add streams to nir data
This will be used by gallium drivers. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.cpp')
-rw-r--r--src/compiler/glsl/glsl_to_nir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp
index caea2ea3b2b..d327f52be60 100644
--- a/src/compiler/glsl/glsl_to_nir.cpp
+++ b/src/compiler/glsl/glsl_to_nir.cpp
@@ -322,6 +322,7 @@ nir_visitor::visit(ir_variable *ir)
var->data.patch = ir->data.patch;
var->data.invariant = ir->data.invariant;
var->data.location = ir->data.location;
+ var->data.stream = ir->data.stream;
var->data.compact = false;
switch(ir->data.mode) {