[Piglit] [PATCH 1/6] shader_runner and glslparsertest: choose GL version more accurately.

Michel Dänzer michel at daenzer.net
Mon Feb 18 07:53:37 PST 2013


On Don, 2013-02-14 at 08:50 -0800, Paul Berry wrote: 
> Previously, both shader_runner and glslparsertest contained switch
> statements that attempted to choose a GL version for testing based on
> a GLSL version requirement, and those switch statements didn't choose
> a GL version very accurately (for example, they converted GLSL version
> 1.50 to GL version 3.1, which doesn't work).
> 
> This patch replaces the switch statements with a single common
> function (in piglit-util-gl-common) that does the right thing.

This change caused quick-driver.tests to skip more than 2000 tests on
radeonsi (GL 2.1, GLSL 1.2). Almost all of the skipped tests were
previously passing.

Was this intended?


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the Piglit mailing list