[Piglit] [PATCH 0/8 v2] Support creation of debug and forward-compatible contexts
Timothy Arceri
t_arceri at yahoo.com.au
Mon Dec 30 00:42:27 PST 2013
Here is some feedback from my testing with AMD Catalyst drivers. As
previously discussed they seem to be missing GLX_ARB_create_context
extension is from "server glx extensions"
With V1 on Catalyst I got:
piglit: info: Failed to create GL 1.0 compatibility context
piglit: info: Failed to create any GL context
PIGLIT: {'result': 'skip' }
With this version I'm getting:
piglit: error: waffle_config_choose failed due to
WAFFLE_ERROR_BAD_ATTRIBUTE: unrecognized attribute 0x216 at
attrib_list[6]
piglit: error: Failed to create waffle_config for OpenGL 1.0 Debug
Context
piglit: info: Failed to create any GL context
On Thu, 2013-12-19 at 18:12 -0800, Chad Versace wrote:
> Patches 2-4 improve error messages when context creation fails, requested by
> Ian and Timothy.
> Patches 1, 5, 6 enable creation of debug and forward-compatible contexts.
> Patch 8 adds a basic test for forward-compatible contexts.
>
> This series lives on my branch:
> git://people.freedesktop.org/~chadversary/piglit branch=fwd-compat-and-debug-contexts
>
> I found no regressions when running against mesa-10.0 on GLX with Ivybridge.
>
> Chad Versace (8):
> cmake: If using Waffle, require waffle >= 1.3
> util/waffle: Print more info when context creation fails
> util/wfl: Refactor make_context_current_singlepass()
> util/waffle: Improve error messages when context creation fails
> util/gl: Support creation of forward-compatible contexts
> util/gl: Support creation of debug contexts
> util/wfl: Remove hacks for compat contexts
> gl-3.0: Add test for the forward-compatible bit
>
> CMakeLists.txt | 3 +-
> tests/all.tests | 2 +
> tests/spec/gl-3.0/api/CMakeLists.gl.txt | 1 +
> tests/spec/gl-3.0/api/forward-compatible-bit.c | 95 ++++++++++
> tests/util/piglit-framework-gl.h | 17 ++
> .../piglit-framework-gl/piglit_wfl_framework.c | 202 ++++++++++++++-------
> 6 files changed, 255 insertions(+), 65 deletions(-)
> create mode 100644 tests/spec/gl-3.0/api/forward-compatible-bit.c
>
More information about the Piglit
mailing list