mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 23:04:07 +00:00
37 lines
840 B
Plaintext
37 lines
840 B
Plaintext
(
|
|
features: (bits: 0x0000_0004_0000_0000),
|
|
expectations: [
|
|
(
|
|
name: "basic",
|
|
buffer: (index: 0, epoch: 1),
|
|
offset: 0,
|
|
data: Raw([
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
]),
|
|
)
|
|
],
|
|
actions: [
|
|
CreateBuffer(
|
|
Id(0, 1, Empty),
|
|
(
|
|
label: None,
|
|
size: 16,
|
|
usage: (
|
|
bits: 41,
|
|
),
|
|
mapped_at_creation: false,
|
|
),
|
|
),
|
|
Submit(1, [
|
|
ClearBuffer(
|
|
dst: Id(0, 1, Empty),
|
|
offset: 4,
|
|
size: Some(8),
|
|
)
|
|
]),
|
|
],
|
|
)
|