- 07 Oct, 2012 1 commit
-
-
Chris Forbes authored
These cases were missed by the original semantic patch due to using fprintf(stderr,... instead of printf. Signed-off-by:
Chris Forbes <chrisf@ijw.co.nz> Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 05 Oct, 2012 2 commits
-
-
Matt Turner authored
The EGL_KHR_create_context spec says: "If the requested OpenGL version is less than 3.2, EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR is ignored and the functionality of the context is determined solely by the requested version." Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
Matt Turner authored
Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
- 03 Oct, 2012 7 commits
-
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
Zero-sized tex images and sub images should not generate an error. Full images which are not multiples of the block size should also be legal. Verified w/ NVIDIA's driver.
-
Brian Paul authored
Reviewed-by:
Eric Anholt <eric@anholt.net>
-
Brian Paul authored
Reviewed-by:
Eric Anholt <eric@anholt.net>
-
Brian Paul authored
Reviewed-by:
Eric Anholt <eric@anholt.net>
-
- 02 Oct, 2012 2 commits
-
-
Robert Bragg authored
The egl-nok-swap-buffer was mistakenly reading the back buffer to test the correctness of eglSwapRegionNOK but once the second glClear() to red has been issued the whole back buffer is red and so the test would always passed since it only probed points it expected to be red anyway. This patch now uses egl_probe_front_pixel_rgb to read the front buffer instead and in addition to checking that certain pixels should be red, it also checks that other pixels are still green. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Robert Bragg authored
This adds an egl_probe_front_pixel_rgb function that is analogous to piglit_probe_pixel_rgba except it probes the front buffer instead of probing the back buffer. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 01 Oct, 2012 2 commits
-
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
Jordan Justen authored
This better matches the interface of glGetStringi, which should be used for GL >= 3.0. Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
- 29 Sep, 2012 3 commits
-
-
Brian Paul authored
Fix incorrect texture height (16, not 15). Fix incorrect width, height for glCopyTexSubImage2D() test. Add two new SubImage tests for non-existant mipmap levels.
-
Brian Paul authored
-
Brian Paul authored
-
- 26 Sep, 2012 2 commits
-
-
Brian Paul authored
Check for expected OpenGL errors related to texture compression. For example, glCompresedTexSubImage2D() offset/size values must be multiples of four. This test could be expanded to cover other compression formats in the future. Also, this test contains some texture compression helper functions that could be made into piglit utility functions. Verified with NVIDIA's driver. One error found in Mesa, to be fixed soon.
-
Brian Paul authored
Create an image buffer with red, green, blue, white quadrants. This code was extracted out of the piglit_rgbw_texture() function. The piglit_rgbw_texture() function is then rewritten to use the new piglit_rgbw_image() function.
-
- 24 Sep, 2012 3 commits
-
-
Kenneth Graunke authored
1. It doesn't use sampler2DRect, so don't require ARB_texture_rectangle 2. Remove pointless glFinish() before piglit_present_results() 3. Use Piglit utility functions for compiling/linking shaders. 4. Print the description of what you're seeing in *non*-automatic mode. Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Marek Olšák authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Kenneth Graunke authored
This tests every possible DEPTH_TEXTURE_MODE with a random smattering of EXT_texture_swizzle modes. While it could be more exhaustive (or use a more logically ordered layout), it does catch the bugs I wanted to detect. v2: Fix probing bug, minor cleanups based on Brian's feedback. Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 23 Sep, 2012 1 commit
-
-
Dave Airlie authored
This was originally generated by a script until I realised the script was actually nearly just the contents of the files (there really is that little overlap), so drop the script and just push the files. This should test (non-textureSize ones) gvec4 texture(gsamplerCubeArray sampler, vec4 coord [, float bias]) gvec4 textureLod(gsamplerCubeArray sampler, vec4 coord, float lod) float texture(samplerCubeArrayShadow sampler, vec4 coord, float compare) gvec4 textureGrad(gsamplerCubeArray sampler, vec4 coord, vec3 ddx, vec3 ddy); work at the compiler level. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 22 Sep, 2012 9 commits
-
-
Brian Paul authored
Fix const correctness warnings. Remove unused label. Use program name in error messages. Signed-off-by:
Dave Airlie <airlied@gmail.com>
-
Dave Airlie authored
Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This tests the glFramebufferTextureLayer interface. Reviewed-by:
Brian Paul <brianp@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This tests cubemap array shadow support, these are different as we have to pass the compare value not in the texture coord but in a separate attribute. Tested against NVIDIA 295 series. Reviewed-by:
Brian Paul <brianp@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
test the getintegerv addition from the spec. Reviewed-by:
Brian Paul <brianp@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This tests teximage3d returns invalid values for width != height and depth not divisible by 6. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This creates a cube map array of 2 cubes, and tests the upload via glTexImage3D and rendering of each layer happens correctly. note it needs to redefine the common cubemap stuff as they are in the wrong order for cubemap arrays. v2: fixup Brian's review Reviewed-by:
Brian Paul <brianp@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This one is wierd since you give glTexImage3D layers * 6, but textureSize reports back layers on its own. Tested and passes on nvidia 295.59. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This reflects the order they are requires for ARB_texture_cube_map_array, I've tested that this causes no regressions here. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 20 Sep, 2012 4 commits
-
-
Vinson Lee authored
Fixes Solaris Studio build. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50802Signed-off-by:
Vinson Lee <vlee@freedesktop.org>
-
Brian Paul authored
Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
Brian Paul authored
Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
Jose Fonseca authored
Should fix shader_runner build failure.
-
- 19 Sep, 2012 3 commits
-
-
Eric Anholt authored
This introduces OpenCL testing to piglit under tests/all_cl.tests.
-
Brian Paul authored
-
Brian Paul authored
-
- 18 Sep, 2012 1 commit
-
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-