<div dir="ltr">Scratch the ML patches. It needed a bit more work yet. I've moved it to an MR.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 13, 2019 at 11:32 AM Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Fixes: 19064b8c "nir: Add a pass for gathering transform feedback info"<br>
Cc: Alejandro Piñeiro <<a href="mailto:apinheiro@igalia.com" target="_blank">apinheiro@igalia.com</a>><br>
---<br>
src/compiler/nir/nir_gather_xfb_info.c | 4 ++++<br>
1 file changed, 4 insertions(+)<br>
<br>
diff --git a/src/compiler/nir/nir_gather_xfb_info.c b/src/compiler/nir/nir_gather_xfb_info.c<br>
index 96f0ece5e75..a1de2d681eb 100644<br>
--- a/src/compiler/nir/nir_gather_xfb_info.c<br>
+++ b/src/compiler/nir/nir_gather_xfb_info.c<br>
@@ -33,6 +33,10 @@ add_var_xfb_outputs(nir_xfb_info *xfb,<br>
unsigned *offset,<br>
const struct glsl_type *type)<br>
{<br>
+ /* If this type contains a 64-bit value, align to 8 bytes */<br>
+ if (glsl_type_contains_64bit(type))<br>
+ *offset = ALIGN_POT(*offset, 8);<br>
+<br>
if (glsl_type_is_array(type) || glsl_type_is_matrix(type)) {<br>
unsigned length = glsl_get_length(type);<br>
const struct glsl_type *child_type = glsl_get_array_element(type);<br>
-- <br>
2.20.1<br>
<br>
</blockquote></div>