Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
This allows all the shader_runner tests to run on systems that have
the appropriate extensions but not OpenGL 2.0.
|
|
Most of these are new, but I updated many old ones to test more values,
and values strictly between 0.0 and 1.0. This ensures we don't
accidentally pass because a wrong result was clamped to that interval.
|
|
|
|
|