summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/gradient/gradient_cache_clamp_ref.yaml
blob: 4631192cd88d798b111b3a5c7db7c1ce4d98cfa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
root:
  items:
    - type: gradient
      bounds: 0 0 400 200
      start: 0 100
      end: 400 100
      stops: [
          0.0,  blue,
          0.25, blue,
          0.25, red,
          1.0,  red]
    - type: gradient
      bounds: 0 300 400 200
      start: 0 100
      end: 400 100
      stops: [
            0.0, blue,
            0.5, blue,
            0.5, red,
            1.0, red]
    - type: gradient
      bounds: 0 600 200 400
      start: 0 0
      end: 0 400
      stops: [
          0.0,  blue,
          0.25,  blue,
          0.75,  red,
          1.0,  red]