mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
* Add support for arrayLength to the wgsl frontend * Fix clippy warning * Add draft support for array length to the msl backend * Finalize support for array length in msl * Convert buffer size to array length in msl backend * Fix clippy warning * Fix misleading documentation * Changes based on review of PR * Use a fake binding for sizes buffer in msl backend if necessary * Only generate the msl buffer size structure if globals are present that have unsized arrays * Make sure to generate separators * Replace uses_unsized_buffers with !self.runtime_sized_buffers.is_empty() * Clear self.runtime_sized_buffers * Run snapshot of shadow.msl * Add Expression::ArrayLength support to the spirv backend * Remove wgsl target from the access snapshot test * Update access.msl snapshot * Update stack size for msl backend * Update stack size again for msl backend
20 lines
445 B
Plaintext
20 lines
445 B
Plaintext
(
|
|
spv_version: (1, 1),
|
|
spv_capabilities: [ Shader, Image1D, Sampled1D ],
|
|
spv_debug: true,
|
|
spv_adjust_coordinate_space: false,
|
|
msl_custom: true,
|
|
msl: (
|
|
lang_version: (2, 0),
|
|
binding_map: {
|
|
(stage: Vertex, group: 0, binding: 0): (buffer: Some(0), mutable: true),
|
|
},
|
|
push_constants_map: (
|
|
),
|
|
inline_samplers: [],
|
|
spirv_cross_compatibility: false,
|
|
fake_missing_bindings: false,
|
|
sizes_buffer_binding: Some(24),
|
|
),
|
|
)
|