diff options
author | Timothy Arceri <[email protected]> | 2017-09-11 16:19:22 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-09-26 22:37:02 +1000 |
commit | 4244bea8591d13a0f03a329bcd21a57587a68230 (patch) | |
tree | e511a4f4c2a423a423e5460c64a00aed70f217b4 /src/compiler/glsl | |
parent | 06bfb2d28f7adca7edc6be9c210a7a3583023652 (diff) |
nir: add always_active_io to nir variable
Will be used in nir link pass to decided if we can remove a varying
or not.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eduardo Lima Mitev <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r-- | src/compiler/glsl/glsl_to_nir.cpp | 1 |
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 99df6e0baf5..ce8da1ce438 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -315,6 +315,7 @@ nir_visitor::visit(ir_variable *ir) var->type = ir->type; var->name = ralloc_strdup(var, ir->name); + var->data.always_active_io = ir->data.always_active_io; var->data.read_only = ir->data.read_only; var->data.centroid = ir->data.centroid; var->data.sample = ir->data.sample; |