<div dir="ltr"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Reviewed-by: Robert Tarasov <</span><a href="mailto:gurchetansingh@chromium.org" target="_blank" style="color:rgb(17,85,204);font-size:12.8px">tutankhamen@chromium.org</a><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">></span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 14, 2018 at 12:14 AM, Dave Airlie <span dir="ltr"><<a href="mailto:airlied@gmail.com" target="_blank">airlied@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>><br>
<br>
---<br>
 src/vrend_shader.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/vrend_shader.c b/src/vrend_shader.c<br>
index 96dc40e..60b1d02 100644<br>
--- a/src/vrend_shader.c<br>
+++ b/src/vrend_shader.c<br>
@@ -1132,7 +1132,7 @@ iter_declaration(struct tgsi_iterate_context *iter,<br>
       ctx->system_values[i].first = decl->Range.First;<br>
       if (decl->Semantic.Name == TGSI_SEMANTIC_INSTANCEID) {<br>
          name_prefix = "gl_InstanceID";<br>
-         ctx->shader_req_bits |= SHADER_REQ_INSTANCE_ID;<br>
+         ctx->shader_req_bits |= SHADER_REQ_INSTANCE_ID | SHADER_REQ_INTS;<br>
       } else if (decl->Semantic.Name == TGSI_SEMANTIC_VERTEXID) {<br>
          name_prefix = "gl_VertexID";<br>
          ctx->shader_req_bits |= SHADER_REQ_INTS;<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.14.3<br>
<br>
______________________________<wbr>_________________<br>
virglrenderer-devel mailing list<br>
<a href="mailto:virglrenderer-devel@lists.freedesktop.org">virglrenderer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/<wbr>virglrenderer-devel</a><br>
</font></span></blockquote></div><br></div>