mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-01-13 20:18:32 -05:00
33 lines
701 B
Plaintext
33 lines
701 B
Plaintext
(
|
|
features: ["MAPPABLE_PRIMARY_BUFFERS"],
|
|
expectations: [
|
|
(
|
|
name: "basic",
|
|
buffer: (index: 0, epoch: 1),
|
|
offset: 0,
|
|
data: Raw([0x00, 0x00, 0x80, 0xBF]),
|
|
)
|
|
],
|
|
actions: [
|
|
CreateBuffer(
|
|
Id(0, 1),
|
|
(
|
|
label: Some("dummy"),
|
|
size: 16,
|
|
usage: 41,
|
|
mapped_at_creation: false,
|
|
),
|
|
),
|
|
WriteBuffer(
|
|
id: Id(0, 1),
|
|
data: "data1.bin",
|
|
range: (
|
|
start: 0,
|
|
end: 16,
|
|
),
|
|
queued: true,
|
|
),
|
|
Submit(1, []),
|
|
],
|
|
)
|