Files
wgpu/player/tests/data/buffer-copy.ron
2020-09-01 16:07:24 -04:00

34 lines
744 B
Plaintext

(
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, []),
],
)