summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-const-builtin-radians.shader_test
AgeCommit message (Collapse)AuthorFilesLines
2014-08-05Replace [vertex/fragment shader file] sections in shader_test files.Kenneth Graunke1-2/+5
This replaces sections like: [fragment shader file] glsl-color.frag with [fragment shader] and the contents of that file. The majority of shader_test files include all their shaders in a single file, which is nice: you can read and understand them all at a glance, without having to open multiple files. You also don't need to worry about extra data files that live in some path. In roughly 60% of these cases, the shader file being included was a a single line (such as gl_FragColor = gl_Color), so just importing it into the shader_test doesn't even add much extra data. The other 40% were shadow tests where it added a bit more, but it's still not horrible. This commit was autogenerated by a python script, with extra 'git rm's for the unnecessary .vert/.frag files after the conversion. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2013-11-05shaders: Stop using ortho in glsl-const tests.Matt Turner1-5/+2
Scripted with sed with fix ups to - not - actually writes .w component, so probe rgba. - reflect - writes const 1.0 .w component, so probe rgb. - cosh - writes const 1.0 .w component, and used probe rgb with 4 components, so drop the .w from the probe. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-11-05shaders: Remove #version from glsl-const tests.Matt Turner1-1/+0
Also basically a revert of 6533d757 to make the cosh test match. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2010-12-01shader_runner: Use GLSL utility functionsIan Romanick1-1/+0
This allows all the shader_runner tests to run on systems that have the appropriate extensions but not OpenGL 2.0.
2010-07-14Add GLSL 1.20 tests for constant expressions involving builtins.Kenneth Graunke1-0/+23