[Piglit] [PATCH 3/3] depthstencil-render-miplevels: Present the results in non-auto mode.

Chad Versace chad.versace at linux.intel.com
Wed Feb 27 10:51:21 PST 2013


On 02/26/2013 12:39 PM, Eric Anholt wrote:
> I tried to make the presentation be the data that was originally
> probed -- there's a second readpixels that's unfortunately, but we do
                                        ^^^^^^
Is "that's" a typo?

> use separate textures so that any workaround relayouts of the probed
> textures don't get tweaked in the process of displaying.

This comment doesn't apply to all drivers, not even all Intel drivers,
so please qualify the comment.

> ---
>  tests/texturing/depthstencil-render-miplevels.cpp |  105 ++++++++++++++++++++-
>  1 file changed, 102 insertions(+), 3 deletions(-)

I applied your series on top of master and tested it on Sandybridge with
`depthstencil-render-miplevels 1024 d=z24`. The window doesn't do the app
says: "Colors should proceed  from nearly-black to nearly-red". Is that
expected?

With PIGLIT_PLATFORM=x11_egl, the window is a solid dark red. With PIGLIT_PLATFORM=glx,
the window content is garbage; it seems that swapbuffers doesn't happen (likely a bug
in Piglit).



More information about the Piglit mailing list