| adapter.rs |
|
91260 |
- |
| command.rs |
|
83703 |
- |
| conv.rs |
|
20156 |
- |
| device.rs |
|
105453 |
- |
| icb.rs |
Lowering of fixed-count multi-draws to Metal indirect command buffers.
A multi-draw records the execution of an ICB into the current render
pass immediately; the compute work that fills the ICB from the indirect
argument buffer is deferred to [`encode_deferred_icb_generation`], which
wgpu-core schedules ahead of the pass so the pass is never split.
[`encode_deferred_icb_generation`]: super::CommandEncoder::encode_deferred_icb_generation |
38794 |
- |
| icb_probe.rs |
|
8911 |
- |
| library_from_metallib.rs |
|
1734 |
- |
| mod.rs |
!
# Metal API internals.
## Pipeline Layout
In Metal, immediates, vertex buffers, and resources in the bind groups
are all placed together in the native resource bindings, which work similarly to D3D11:
there are tables of textures, buffers, and samplers.
We put immediates first (if any) in the table, followed by bind group 0
resources, followed by other bind groups. The vertex buffers are bound at the very
end of the VS buffer table.
! |
52015 |
- |
| shaders |
|
|
- |
| surface.rs |
|
19267 |
- |
| time.rs |
Handling of global timestamps. |
1005 |
- |