summaryrefslogtreecommitdiffstats
path: root/gfx/wgpu/player/tests/data/buffer-copy.ron
blob: b9cb8d45468a7842bf5d824a1313d133907e1347 (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
31
32
33
34
(
    features: (bits: 0x0),
    expectations: [
        (
            name: "basic",
            buffer: (index: 0, epoch: 1),
            offset: 0,
            data: Raw([0x00, 0x00, 0x80, 0xBF]),
        )
    ],
    actions: [
        CreateBuffer(
            Id(0, 1, Empty),
            (
                label: Some("dummy"),
                size: 16,
                usage: (
                    bits: 41,
                ),
                mapped_at_creation: false,
            ),
        ),
        WriteBuffer(
            id: Id(0, 1, Empty),
            data: "data1.bin",
            range: (
                start: 0,
                end: 16,
            ),
            queued: true,
        ),
        Submit(1, []),
    ],
)