On 18.09.2017 15:27, Benedikt Schemmer wrote:
There is a small typo that prevents compilation.
Please kindly review and push.
Cheers,
Benedikt

Signed-off-by: Benedikt Schemmer <b...@besd.de>

Ilia pointed this out to me, but I dropped it (I think because the mail didn't go to the mailing list. Or something.). It's actually a different patch that's fixed by it.

Pushed the fix, thanks, and sorry for the inconvenience!


diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c 
b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c
@@ -412,7 +412,7 @@ nvc0_hw_get_query_result_resource(struct nvc0_context *nvc0,
     PUSH_REFN (push, buf->bo, buf->domain | NOUVEAU_BO_WR);
     BEGIN_1IC0(push, NVC0_3D(MACRO_QUERY_BUFFER_WRITE), 9);
     if (q->type == PIPE_QUERY_OCCLUSION_PREDICATE ||
-       q->type ++ PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE) /* XXX what if 
64-bit? */
+       q->type == PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE) /* XXX what if 
64-bit? */
        PUSH_DATA(push, 0x00000001);
     else if (result_type == PIPE_QUERY_TYPE_I32)
        PUSH_DATA(push, 0x7fffffff);


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to