# When the clip chains are shared and handled when compositing the picture cache
# slice, ensure that the border radii are passed in the correct order to the shader.
---
root:
  items:
    - type: clip
      id: 2
      complex:
        - rect: [50, 50, 200, 200]
          radius: [25, 50, 100, 75]

    - type: clip
      id: 3
      bounds: [300, 50, 0, 0]

    - type: rect
      bounds: 50 50 200 200
      color: red
      clip-chain: [2]

    - type: rect
      bounds: 300 50 200 200
      color: red
      clip-chain: [2]
