[Piglit] glsl_parser_test: Changes to config section
Chad Versace
chad at chad-versace.us
Thu Jan 27 09:53:37 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If you write glsl parser tests that explicitly rely on extensions, take
notice. I have made two changes to the config section of glsl parser test.
1. Option 'extension' has been renamed to 'require_extensions'. All
existing tests have been modified to reflect this change.
2. A new option has been introduced: override_extensions. This option is
useful for testing extensions that have been implemented in the
compiler, but are not yet enabled in the driver.
To manually enable an extension, prefix it with '+'. For example:
- ------------------
// [config]
// expect_result: pass
// glsl_version: 1.30
// require_extensions: GL_AMD_conservative_depth
// override_extensions: +GL_AMD_conservative_depth
// [end config]
#version 130
#extension GL_AMD_conservative_depth: require
layout (depth_any) out float gl_FragDepth;
float f() {
return 0.0;
}
- ------------------
Option 'override_extensions' is also capable of manually disabling
extensions, by prefixing the extension name with '-'.
- --
Chad Versace
chad at chad-versace.us
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJNQbEgAAoJEAIvNt057x8iiKgQAK3IKX8MtMm8je+fOFs23Te3
uOCfLsNIIi1cBp19A5U+sMPYsj/vVcqRw/dws6rggb4Itpx5ArgxxdVXIOZwdQuH
BXv1Vsj1so7ENmnjkYRk2HB811rPV8WND+uKXHkCJV7VbWl61lGHLH7FzbvJatJZ
ls01mpIeym1hRU+XVdCTw6AWoFXcslIHaaVkbpLTmm2f+nNOTdi8EQgZZ0oHwJDZ
ckjqttoqWbU+H85xo984jwg1rJVNmw34m1nJYUQAeEKCOGWUeiCRb2AZJ5vJbSpW
sDc3s/GBiWI37oKsWBvOnN0tadODIpnqV4IUP86NCb5pA5tm1R4UYjc+WMMFwgzB
No3F+aGCjK53f9YHX4gVvSjoazJwynav19PQuXn3Tjs37fhBV/X3kch3lAS2SRDk
ahJ1tPaliDcYGrvz7l3ydiB28mU4vbRAgr574n07eVrJBKHiJZnYsoiJFWsIr5DI
e5cnJokJ6gzzdmle5Q4yy+N2nhQb+GcQ71gk8XYebT8l13OsTBANtCYM+HIVQX/c
2tD6xkTTpayQdoqEgJyYRFjCTg0hI5oHSJnh31KIxul5AOifMEZMc8WvPGLMVRPy
ktd66N0k5sPWuzMhbjIhA1m5p5x4nCvwIKYX/+zTtgOJiLFUeMYPYToJD2D3yAIv
23ScWvExWGGq4z8h4Fje
=qWZh
-----END PGP SIGNATURE-----
More information about the Piglit
mailing list