summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/image/tile-repeat-prim-or-decompose.yaml
blob: 43b12bbd94ac036c879cb1f976c809f3e0dddb6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This test aims at exercising the different ways we handle repetition of tiled images.
root:
  items:
    # This should cause the primitive repetition to be decomposed on the cpu along the x axis
    # but perform the repetition along the y axis on the image shader because the image width
    # fits within the tile size.
    - image: xy-gradient(500, 50)
      bounds: 0 0 800 800
      stretch-size: 50 50
      tile-size: 50
    # This should cause the primitive repetition to be decomposed on the cpu along the y axis
    # but perform the repetition along the x axis in the image shader because the image height
    # fits within the tile size.
    - image: xy-gradient(50, 500)
      bounds: 800 0 800 800
      stretch-size: 50 50
      tile-size: 50