testsuite: Add a color matrix test case

Color matrix nodes with an identity matrix and no offset should still
produce the expected image.
This commit is contained in:
Timm Bäder 2019-05-18 09:22:44 +02:00
parent ccb9877534
commit 2979aea3ae
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
color-matrix {
child: color {
bounds: 0 0 50 50;
color: rgba(255, 0, 0, 0.5);
}
matrix: none;
offset: 0 0 0 0;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

View File

@ -40,6 +40,7 @@ compare_render_tests = [
'outset_shadow_simple',
'shadow-in-opacity',
'texture-url',
'color-matrix-identity',
]
renderers = [