mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-03 20:23:40 +00:00
27d38aae33
* [hlsl-out] fix matCx2 as global uniform * [hlsl-out] update comments * [hlsl-out] fix `row_major` not being written on global arrays of matrices and also write it on nested arrays of matrices * [hlsl-out] fix matCx2's nested inside global arrays * [hlsl-out] fix struct members of type array<matCx2> * [hlsl-out] test mat2x4 to make sure our matCx2 code behaves properly
38 lines
881 B
Plaintext
38 lines
881 B
Plaintext
(
|
|
spv: (
|
|
version: (1, 1),
|
|
debug: true,
|
|
adjust_coordinate_space: false,
|
|
),
|
|
msl: (
|
|
lang_version: (2, 0),
|
|
per_stage_map: (
|
|
vs: (
|
|
resources: {
|
|
(group: 0, binding: 0): (buffer: Some(0), mutable: false),
|
|
(group: 0, binding: 1): (buffer: Some(1), mutable: false),
|
|
(group: 0, binding: 2): (buffer: Some(2), mutable: false),
|
|
(group: 0, binding: 3): (buffer: Some(3), mutable: false),
|
|
},
|
|
sizes_buffer: Some(24),
|
|
),
|
|
fs: (
|
|
resources: {
|
|
(group: 0, binding: 0): (buffer: Some(0), mutable: true),
|
|
(group: 0, binding: 2): (buffer: Some(2), mutable: true),
|
|
},
|
|
sizes_buffer: Some(24),
|
|
),
|
|
cs: (
|
|
resources: {
|
|
(group: 0, binding: 0): (buffer: Some(0), mutable: true),
|
|
},
|
|
sizes_buffer: Some(24),
|
|
),
|
|
),
|
|
inline_samplers: [],
|
|
spirv_cross_compatibility: false,
|
|
fake_missing_bindings: false,
|
|
),
|
|
)
|