diff options
Diffstat (limited to 'gfx/wr/wrench/reftests/filters/svgfe-colormatrix.yaml')
-rw-r--r-- | gfx/wr/wrench/reftests/filters/svgfe-colormatrix.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/filters/svgfe-colormatrix.yaml b/gfx/wr/wrench/reftests/filters/svgfe-colormatrix.yaml new file mode 100644 index 0000000000..be0da63a59 --- /dev/null +++ b/gfx/wr/wrench/reftests/filters/svgfe-colormatrix.yaml @@ -0,0 +1,18 @@ +--- +root: + items: + - type: stacking-context + bounds: [0, 0, 120, 120] + filters: + - svgfe: SourceGraphic + - svgfe: SourceAlpha + - svgfe: colormatrix + linear: true, + subregion: [0, 0, 120, 120] + in: 0 + # note this is transposed to be suitable for shader, not SVG order + matrix: [2,0,0,0, 0,2,0,0, 0,0,2,0, 0,0,0,1, 0,0,0,0] + items: + - type: rect + bounds: [10, 10, 100, 100] + color: [64, 32, 16, 1] |