[Piglit] [PATCH 0/5] Support creation of debug and forward-compatible contexts

Ian Romanick idr at freedesktop.org
Mon Oct 14 18:21:33 CEST 2013


On 10/13/2013 05:38 AM, Timothy Arceri wrote:
> Hi Chad,
> 
> I successfully tested the patches for creating a debug-context with an
> Intel GPU but if I added config.require_debug_context = true; to
> tests/spec/arb_debug_output/api_error.c and run on a PC running AMD
> Catalyst drivers I get the following message:
> 
> piglit: info: Failed to create GL 1.0 compatibility context
> piglit: info: Failed to create any GL context
> PIGLIT: {'result': 'skip' }

Based on this, I think the message logging should be modified to include
extra flags (like forward-compatible or debug) that are passed to
context creation.  I'd much rather see this read:

piglit: info: Failed to create GL 1.0 debug compatibility context

> I have not had time to look into the cause yet but thought I'd pass on
> my findings.
> 
> Tim
> 
> 
> 
> On Thu, 2013-10-10 at 12:33 -0700, Chad Versace wrote:
>> Patches 1-4 enable creation of debug and forward-compatible contexts.
>> Patch 5 adds a basic test for forward-compatible contexts.
>>
>> This series lives on fwd-compat-and-debug-contexts branch.
>>
>> Chad Versace (5):
>>   cmake: If using Waffle, require waffle >= 1.3
>>   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 tst 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     | 38 ++++-----
>>  6 files changed, 134 insertions(+), 22 deletions(-)
>>  create mode 100644 tests/spec/gl-3.0/api/forward-compatible-bit.c
>>
> 



More information about the Piglit mailing list