On Sat, Jan 2, 2016 at 1:08 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote: > Creates an array with 3 draws, the last of which is "bad", and makes > sure that the "bad" one is never drawn. Parameter count is supplied from > an earlier XFB draw to ensure that proper fencing occurs. > > Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> > ---
This patch introduced two GCC build warnings. tf-count-arrays.c: In function ‘piglit_display’: tf-count-arrays.c:197:4: warning: passing argument 2 of ‘piglit_dispatch_glMultiDrawArraysIndirectCount’ makes pointer from integer without a cast [-Wint-conversion] (2 * 4 * 4), 4, 1, 0); ^ tf-count-arrays.c:197:4: note: expected ‘const void *’ but argument is of type ‘int’ tf-count-elements.c: In function ‘piglit_display’: tf-count-elements.c:206:4: warning: passing argument 3 of ‘piglit_dispatch_glMultiDrawElementsIndirectCount’ makes pointer from integer without a cast [-Wint-conversion] (2 * 5 * 4), 4, 1, 0); ^ tf-count-elements.c:206:4: note: expected ‘const void *’ but argument is of type ‘int’ _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit