Results for glean/exactRGBA

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 0
info
Returncode: 0

Errors:


Output:
----------------------------------------------------------------------
This test performs a sanity check of glReadPixels, using as
few other portions of the GL as possible.  If this test fails,
it may be pointless to run other tests, since so many of them
depend on reading the contents of the framebuffer to determine
if they pass.

The test works by using glClear to fill the framebuffer with a
randomly-chosen value, reading the contents of the
framebuffer, and comparing the actual contents with the
expected contents.  RGB, RGBA, color index, stencil, and depth
buffers (whichever are applicable to the current rendering
context) are checked.  The test passes if the actual contents
are within 1 LSB of the expected contents.

readPixSanity:  PASS rgba8, db, z24, s8, win+pmap, id 33
	RGBA largest readback error was 0 bits
	Depth largest readback error was 0.33985 bits
readPixSanity:  PASS rgba8, db, z24, s8, win+pmap, id 34
	RGBA largest readback error was 0 bits
	Depth largest readback error was 0.33985 bits
readPixSanity:  PASS rgba8, z24, win+pmap, id 112
	RGBA largest readback error was 0 bits
	Depth largest readback error was 0.33985 bits

----------------------------------------------------------------------
The OpenGL specification requires that under certain conditions
(e.g. lighting disabled, no clipping, no dithering, etc.) colors
specified as unsigned integers are represented *exactly* in the
framebuffer (up to the number of bits common to both the
original color and the framebuffer color channel).  Several glean
tests depend on this behavior, so this test is a prerequisite for
them.

This test works by drawing many small quadrilaterals whose
colors are specified by glColorub, glColorus, and glColorui;
reading back the resulting image; and comparing the colors read
back to the colors written.  The high-order bits shared by the
source representation of the colors and the framebuffer
representation of the colors must agree exactly for the test to
pass.

exactRGBA:  FAIL rgba8, db, z24, s8, win+pmap, id 33
	Unsigned short worst-case error was 0x100 at (0, 0)
		expected (0xeb00, 0x5e00, 0xb300, 0x3600)
		got (0xea00, 0x5e00, 0xb300, 0x3700)
	Unsigned int   worst-case error was 0x1000000 at (1, 0)
		expected (0xff000000, 0xf4000000, 0xd0000000, 0xe6000000)
		got (0xfe000000, 0xf4000000, 0xd0000000, 0xe5000000)
exactRGBA:  FAIL rgba8, db, z24, s8, win+pmap, id 34
	Unsigned short worst-case error was 0x100 at (0, 0)
		expected (0xeb00, 0x5e00, 0xb300, 0x3600)
		got (0xea00, 0x5e00, 0xb300, 0x3700)
	Unsigned int   worst-case error was 0x1000000 at (1, 0)
		expected (0xff000000, 0xf4000000, 0xd0000000, 0xe6000000)
		got (0xfe000000, 0xf4000000, 0xd0000000, 0xe5000000)
exactRGBA:  FAIL rgba8, z24, win+pmap, id 112
	Unsigned byte  worst-case error was 0xff at (511, 74)
		expected (0x20, 0xff, 0x52, 0x0)
		got (0x28, 0x0, 0x4b, 0x0)
	Unsigned short worst-case error was 0x100 at (0, 0)
		expected (0xeb00, 0x5e00, 0xb300, 0x3600)
		got (0xea00, 0x5e00, 0xb300, 0x3700)
	Unsigned int   worst-case error was 0x1000000 at (1, 0)
		expected (0xff000000, 0xf4000000, 0xd0000000, 0xe6000000)
		got (0xfe000000, 0xf4000000, 0xd0000000, 0xe5000000)

Back to summary