summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/near-plane-clip.yaml
blob: 3bbafca974b064c6f320bc8708cd2faae45a946a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Test the calculation for screen bounds for transformed primitives that cross the near plane.
---
root:
  items:
    -
      bounds: [0, 0, 1000, 1000]
      type: "stacking-context"
      perspective: 200
      items:
        -
          bounds: [0, 0, 1000, 1000]
          type: "stacking-context"
          transform: rotate-x(30)
          items:
            -
              bounds: [350, 200, 260, 300]
              image: checkerboard(2, 16, 16)
              stretch-size: 260 260