mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
36ee7835d6
apple-crashy-msaa-default-framebuffer
audio-import
catastrophic-cross
chainsaw-surgery
dpi-change-events
euler-xxx
findsdl-include-root
gltestlib-symbol-duplication
gpu-preference
inverted-ranges
ktx1-detection
master
meshdata-cereal-killer
mousecapture
multiwindow
next
sceneconverter
scenedata-optimizations
simd
vectorfields
zerocopy
snapshot-2013-08
snapshot-2013-10
snapshot-2014-01
snapshot-2014-01-compatibility
snapshot-2014-06
snapshot-2014-06-compatibility
snapshot-2015-05
snapshot-2015-05-compatibility
v2013.08
v2013.10
v2014.01
v2014.06
v2015.05
v2018.02
v2018.04
v2018.10
v2019.01
v2019.10
v2020.06
${ noResults }
magnum/src/Magnum/TextureTools/Test/DistanceFieldGLTestFiles
The nested for loop is a big problem. Worked around this by putting a
fixed upper bound and some `break`s. This might result in the code
being slower on desktop drivers, needs to be redone from scratch later
by generating the code directly.
Even this minor change caused Mesa drivers to output a slightly
different file. Test output is verbatim below:
============================================================================
FAIL [1] test() at
../src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp on line 107
Images actualOutputImage and
Utility::Directory::join(DISTANCEFIELDGLTEST_FILES_DIR, "output.tga")
have both max and mean delta above threshold, actual 1/0.000488281 but
at most 0/0 expected. Delta image:
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| M |
| |
| |
| M |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Pixels above max/mean threshold:
[16,41] Vector(175), expected Vector(174) (Δ = 1)
[46,35] Vector(175), expected Vector(174) (Δ = 1)
|
8 years ago | |
|---|---|---|
| .. | ||
| input.tga | TextureTools: initial test for distanceField(). | 8 years ago |
| output.tga | TextureTools: make distanceField() work better on bad/old shader compilers. | 8 years ago |