[Piglit] [PATCH 2/2] arb_shader_stencil_export: Compare all values

Emil Velikov emil.l.velikov at gmail.com
Tue Nov 10 07:51:02 PST 2015


On 23 October 2015 at 06:00, Ben Widawsky <benjamin.widawsky at intel.com> wrote:

> @@ -57,13 +57,15 @@ piglit_display(void)
>
>         piglit_draw_rect(-1, -1, 2, 2);
>
> -       glReadPixels(0, 0, 3, 1, GL_STENCIL_INDEX, GL_FLOAT, p);
> +       glReadPixels(0, 0, 256, 256, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, p);
As you use the same coordinates (the full window) here you should also
update the above rect ?

-Emil


More information about the Piglit mailing list