mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 09:09:19 +01:00
[msl] refactor the options, add override stages
This commit is contained in:
1 parent
ce49afa391
commit
587dc01a2c
6 files changed
+89
-44
No files matched your search
@@ -1,7 +1,7 @@
|
||||
(
|
||||
metal_bindings: {
|
||||
(group: 0, binding: 0): (buffer: Some(0), mutable: false),
|
||||
(group: 0, binding: 1): (buffer: Some(1), mutable: true),
|
||||
(group: 0, binding: 2): (buffer: Some(2), mutable: true),
|
||||
(stage: Compute, group: 0, binding: 0): (buffer: Some(0), mutable: false),
|
||||
(stage: Compute, group: 0, binding: 1): (buffer: Some(1), mutable: true),
|
||||
(stage: Compute, group: 0, binding: 2): (buffer: Some(2), mutable: true),
|
||||
}
|
||||
)
|
||||
@@ -1,6 +1,6 @@
|
||||
(
|
||||
metal_bindings: {
|
||||
(group: 0, binding: 0): (texture: Some(0)),
|
||||
(group: 0, binding: 1): (sampler: Some(0)),
|
||||
(stage: Fragment, group: 0, binding: 0): (texture: Some(0)),
|
||||
(stage: Fragment, group: 0, binding: 1): (sampler: Some(0)),
|
||||
}
|
||||
)
|
||||
Reference in new issue
Block a user