[Piglit] [PATCH] arb_es2_compatibility-releaseshadercompiler-ge7: test glReleaseShaderCompiler crash

Brian Paul brian.e.paul at gmail.com
Mon Jan 7 16:07:34 PST 2013


On Mon, Jan 7, 2013 at 1:21 PM, Chad Versace
<chad.versace at linux.intel.com> wrote:
> On 12/18/2012 02:43 PM, Brian Paul wrote:
>> This tests exercises a Mesa crash found with Google Earth v7.
>> Specifically, Google Earth is calling glReleaseShaderCompiler() between
>> glCompileShader() and glLinkProgram().
>>
>> It appears that glReleaseShaderCompiler() is freeing some data
>> structures that are needed later by the linker.
>>
>> The test passes with NVIDIA's driver.
>> ---
>
> Looks good to me.
> Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
>
> I'm surprised that you explicitly set config.window_width/height
> rather than leaving them at the defaults. Did you intend to do that?

No I didn't.  I'll fix that before committing.  Thanks.

-Brian


More information about the Piglit mailing list