mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-03 04:03:32 +00:00
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
(
|
|
god_mode: true,
|
|
msl: (
|
|
lang_version: (2, 0),
|
|
per_entry_point_map: {
|
|
"entry_point_one": (
|
|
resources: {
|
|
(group: 0, binding: 0): (texture: Some(0)),
|
|
(group: 0, binding: 2): (sampler: Some(Inline(0))),
|
|
(group: 0, binding: 4): (buffer: Some(0)),
|
|
}
|
|
),
|
|
"entry_point_two": (
|
|
resources: {
|
|
(group: 0, binding: 0): (texture: Some(0)),
|
|
(group: 0, binding: 2): (sampler: Some(Resource(0))),
|
|
(group: 0, binding: 4): (buffer: Some(0)),
|
|
}
|
|
),
|
|
"entry_point_three": (
|
|
resources: {
|
|
(group: 0, binding: 0): (texture: Some(0)),
|
|
(group: 0, binding: 1): (texture: Some(1)),
|
|
(group: 0, binding: 2): (sampler: Some(Inline(0))),
|
|
(group: 0, binding: 3): (sampler: Some(Resource(1))),
|
|
(group: 0, binding: 4): (buffer: Some(0)),
|
|
(group: 1, binding: 0): (buffer: Some(1)),
|
|
}
|
|
)
|
|
},
|
|
inline_samplers: [
|
|
(
|
|
coord: Normalized,
|
|
address: (ClampToEdge, ClampToEdge, ClampToEdge),
|
|
mag_filter: Linear,
|
|
min_filter: Linear,
|
|
mip_filter: None,
|
|
border_color: TransparentBlack,
|
|
compare_func: Never,
|
|
lod_clamp: Some((start: 0.5, end: 10.0)),
|
|
max_anisotropy: Some(8),
|
|
),
|
|
],
|
|
spirv_cross_compatibility: false,
|
|
fake_missing_bindings: false,
|
|
zero_initialize_workgroup_memory: true,
|
|
),
|
|
bounds_check_policies: (
|
|
index: ReadZeroSkipWrite,
|
|
buffer: ReadZeroSkipWrite,
|
|
image_load: ReadZeroSkipWrite,
|
|
image_store: ReadZeroSkipWrite,
|
|
)
|
|
)
|