aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00
AgeCommit message (Collapse)Author
2013-04-09glsl-es-1.00: sanity.shader_test fragment needs default precisionTom Gall
GLSL ES 1.00 spec 4.5.3 page 36: "The fragment language has no default precision qualifier for floating point types." Adding default precision for float in the fragment shader so this sanity testcase doesn't error out. mediump is choosen since according to 4.5.2 page 34: "The fragment language requires any uses of lowp and mediump to compile without error. Support for highp is optional." Signed-off-by: Tom Gall <tom.gall@linaro.org> Reviewed-by: Stuart Abercrombie <sabercrombie@chromium.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2013-03-20Add tests/spec/glsl-es-1.00/execution/maximums shader testsTom Gall
Adds gl_MaxCombinedTextureImageUnits.shader_test gl_MaxDrawBuffers.shader_test gl_MaxFragmentUniformVectors.shader_test gl_MaxTextureImageUnits.shader_test gl_MaxVaryingVectors.shader_test gl_MaxVertexAttribs.shader_test gl_MaxVertexTextureImageUnits.shader_test gl_MaxVertexUniformVectors.shader_test These check the built-in constants of the same name from section 7.4 of the glsl es 1.0.17 spec. v2: squash patch, address one by one spec reference. Signed-off-by: Tom Gall <tom.gall@linaro.org> Reviewed-by: Eric Anholt <eric@anholt.net>
2013-02-15glsl-es-1.00: Move contents of glsl-1.00 to glsl-es-1.00Tom Gall
Move contents of glsl-1.00 to the glsl-es-1.00 directory. Remove a few blank lines at the end of 4 tests so that git is happy. Last fix up all.tests so that all shader and glslparser tests for glsl-es-1.00 are listed and referenced in the new directory. V2: patch squashed and generated with --find-renames Signed-off-by: Tom Gall <tom.gall@linaro.org> V3 (Paul Berry <stereotype441@gmail.com>): Add missing initialization of spec['glsl-es-1.00']['execution'] to all.tests. Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-01-16shader_runner: Alter GL/GLSL ES version requirement syntax.Stuart Abercrombie
The current syntax isn't compatible with the same shader_test supporting GL and GLES in the future. Modify existing GL ES tests to use the new syntax, and remove explicit #version directives, which will instead be inserted based on GLSL >= requirements. v2 Added check for trailing chars. Formatting. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Tom Gall <tom.gall@linaro.org>
2013-01-09shader_runner: add glsl-es-1.00 sanity testTom Gall
Add tests/spec/glsl-es-1.00 directory and new execution/sanity.shader_test in that directory. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Signed-off-by: Tom Gall <tom.gall@linaro.org>