Age | Commit message (Collapse) | Author | Files | Lines |
|
depth-stencil formats are disallowed in glGenerateMipmap because the
stencil component is not filterable.
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
|
|
The test requires a 100x100 rendering. Adjust the viewport and
probes to accomodate larger window sizes.
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Marek Olšák <maraeo@gmail.com>
|
|
The pixel probing is very sensitive to the size of the rendering so
limit it to 100x100 regardless of window size.
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Marek Olšák <maraeo@gmail.com>
|
|
These tests probe specific pixel locations so the 100x100 size can't
be changed. Let the window be larger, but just draw to a 100x100 region.
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Marek Olšák <maraeo@gmail.com>
|
|
This updates and renames the fdo9833.c test.
Reviewed-by: Eric Anholt <eric@anholt.net>
|
|
missed this the first time around.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
samplerCubeArray."
This reverts commit ccde8c37c2c1eb7d1b1b7451677b9f6ce9237591.
after talking to Kayden we should always test for this.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
While adding cube map arrays to r600g I noticed no test actually tested
whether the explicit lod or lod bias on cubemaps was actually being
used. This test is a variant on the cubemap test that contains 3 variants,
plain cubemap with shader,
cubemap sampling with lod bias
cubemap sampling with explicit lod.
This test currently fails on r600g due to the bug, which I shall fix soon.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
The size of the window and the size of the FBO were mixed up in a few
places. Add missing FBO binding calls so the window can be resized.
Use an rb_size variable instead of hard-coded 100.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Instead of sizes less than 150x150.
No regressions seen with new size.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Use the default window size.
No regressions seen with new size.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
These tests had window sizes other than 100x100.
No regressions seen with new size.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Use the default from piglit-framework-gl.h
No regressions seen with new size.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
On Win7 windows get resized to the min size of 116x100 pixels (which
might depend on the Aero theme, etc). This resize is detected by
the piglit framework:
Got spurious window resize in automatic run (100,100 to 116,100)
PIGLIT: {'result': 'warn'}
so we get a 'warn' result instead of actually running the test.
This sets a default window size of 150x150 pixels. Next, we'll
remove the "config.window_width/height = 100" lines from a bunch
of tests.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
In order to implement cube map array texture sampling, lod and
explicit lod need to go via a different route in the driver than
normal (at least for gallium drivers, we needed new opcodes).
This tests both explicit lod and lod bias shader forms, and
checks across two layers.
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
layer
This test wasn't actually testing array behaviour at all, so
wouldn't catch the case where the layer was getting lost.
This modifies the test so that it samples from the second layer,
and makes the contents of the first layer incorrect to catch
this case.
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
These symbols are defined in the Windows header windef.h.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
|
|
Only request a visual with alpha if the test requests
PIGLIT_GL_VISUAL_ALPHA.
When I wrote the waffle backend, I misunderstood the meaning of GLUT_RGBA.
I interpreted GLUT_RGBA to indicate a request for a visual with all of
RGBA channels present. Actually, it just indicates a request for a visual
with RGBA color model, as opposed to GLUT_LUMINANCE and GLUT_INDEX.
Fixes regression in fs-texelFetchOffest-2D.
Reported-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
This covers some commands from GL2, GL3 (glVertexAttribI*)
and GL_ARB_vertex_type_2_10_10_10_rev.
Vertex arrays, immediate mode and display lists are tested.
Adding test cases for GL_ARB_vertex_attrib_64bit should be easy.
|
|
Pure white-space change.
|
|
MSVC does not have strtof.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
|
|
crossbar was converted to piglit framework in commit
968fb70497d37cf0a51fa9d8485287b63d33bf7e.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
|
|
According to the equation from the GL spec:
(2c + 1)/(2^b - 1)
The signed normalize alpha of zero should be:
(2*0 + 1)/(2^2 - 1) = 1/3 = 0.333...
|
|
|
|
|
|
To remove dependency on glu.h
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
To remove dependency on glu.h
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
To remove dependency on glu.h
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
Piglit's support for running tests under a GL 3.1 core context never
worked. A little typo rendered it broken.
|
|
|
|
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
1. Test glReadPixels(depth) immediately after glClear(depth).
2. Display the depth buffer contents as a grayscale image when not
running in automatic mode to aid debugging.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
|
|
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
|
|
I was going to go touch this code in Mesa, then I realised that we
didn't have a single test for it.
v2: Rebase on Chad's BUILD_* sedjob, and explicitly test various swap intervals.
v3: Rewrite wrapping loops.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
|