<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 21, 2015 at 2:54 PM, Timothy Arceri <span dir="ltr"><<a href="mailto:timothy.arceri@collabora.com" target="_blank">timothy.arceri@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This field is used as a flag to optimise out any varyings that don't have<br>
matching varying on the other side of the interface.<br>
<br>
The value should be the same for all varyings (except for SSO but we can't<br>
optimise those) by the time they reach nir and are no longer be needed.<br></blockquote><div><br></div><div>Acked-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
src/glsl/nir/glsl_to_nir.cpp | 1 -<br>
src/glsl/nir/nir.h | 9 ---------<br>
2 files changed, 10 deletions(-)<br>
<br>
diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp<br>
index 9d9053f..0f0f4a1 100644<br>
--- a/src/glsl/nir/glsl_to_nir.cpp<br>
+++ b/src/glsl/nir/glsl_to_nir.cpp<br>
@@ -364,7 +364,6 @@ nir_visitor::visit(ir_variable *ir)<br>
var->data.explicit_index = ir->data.explicit_index;<br>
var->data.explicit_binding = ir->data.explicit_binding;<br>
var->data.has_initializer = ir->data.has_initializer;<br>
- var->data.is_unmatched_generic_inout = ir->data.is_unmatched_generic_inout;<br>
var->data.location_frac = ir->data.location_frac;<br>
var->data.from_named_ifc_block_array = ir->data.from_named_ifc_block_array;<br>
var->data.from_named_ifc_block_nonarray = ir->data.from_named_ifc_block_nonarray;<br>
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h<br>
index 2e72e66..9dbda44 100644<br>
--- a/src/glsl/nir/nir.h<br>
+++ b/src/glsl/nir/nir.h<br>
@@ -216,15 +216,6 @@ typedef struct {<br>
unsigned has_initializer:1;<br>
<br>
/**<br>
- * Is this variable a generic output or input that has not yet been matched<br>
- * up to a variable in another stage of the pipeline?<br>
- *<br>
- * This is used by the linker as scratch storage while assigning locations<br>
- * to generic inputs and outputs.<br>
- */<br>
- unsigned is_unmatched_generic_inout:1;<br>
-<br>
- /**<br>
* If non-zero, then this variable may be packed along with other variables<br>
* into a single varying slot, so this offset should be applied when<br>
* accessing components. For example, an offset of 1 means that the x<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.4.3<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>