summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-pp-elif-no-expression-1.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>
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-06-23Add tests for #elif without an expression.Kenneth Graunke1-0/+23
nVidia's compiler and GCC < 4.4 accept this with a warning if the condition is irrelevant (i.e. the preceding branch was #if 1), but still give an error if it matters (i.e. the preceding branch was #if 0).