<html><head></head><body><div>Hi Andrey,</div><div><br></div><div>Thanks for the report and all the analysis work on your side. I am on holidays at the moment</div><div>and from tomorrow onwards I won't have reliable internet access but Samuel will be back from</div><div>his vacaction next week and he might be be able to have a look at the problem and your patch.</div><div><br></div><div>Thanks,</div><div>Iago</div><div><br></div><div>On Wed, 2018-08-15 at 18:26 +0300, andrey simiklit wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div><br></div>This workaround just helps me to avoid the graphical corruption on SNB but<br>I not sure is it good idea.<div><br></div><div>Regards,</div><div class="gmail_extra">Andrii.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 15, 2018 at 6:20 PM,  <span dir="ltr"><<a href="mailto:asimiklit.work@gmail.com" target="_blank">asimiklit.work@gmail.com</a>></span> wrote:<br><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">From: Andrii Simiklit <<a href="mailto:asimiklit.work@gmail.com">asimiklit.work@gmail.com</a>><br>
<br>
When the SVBI Payload Enable is false I guess the register R1.4<br>
which contains the Maximum Streamed Vertex Buffer Index is filled by zero<br>
and GS stops to write transform feedback when the transform feedback <br>
is not active.<br>
<br>
Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=107579" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=107579</a><br>
Signed-off-by: Andrii Simiklit <<a href="mailto:andrii.simiklit@globallogic.com">andrii.simiklit@globallogic.<wbr>com</a>><br>
---<br>
 src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c b/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c<br>
index ea5ad55..0f82500 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>genX_state_upload.c<br>
@@ -2806,7 +2806,7 @@ genX(upload_gs_state)(struct brw_context *brw)<br>
 #if GEN_GEN < 7<br>
          gs.SOStatisticsEnable = true;<br>
          if (gs_prog->info.has_transform_<wbr>feedback_varyings)<br>
-            gs.SVBIPayloadEnable = true;<br>
+            gs.SVBIPayloadEnable = _mesa_is_xfb_active_and_<wbr>unpaused(ctx);<br>
<br>
          /* GEN6_GS_SPF_MODE and GEN6_GS_VECTOR_MASK_ENABLE are enabled as it<br>
           * was previously done for gen6.<br>
<span class="gmail-HOEnZb"><font color="#888888">-- <br>
2.7.4<br>
<br>
</font></span></blockquote></div><br></div></div>
</blockquote></body></html>