mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-03 20:23:40 +00:00
e2d688088a
* Make some (currently hacky) changes to enable multiview in webgl * Fix ViewIndex built in for this extension * Run cargo fmt, fix tests * Allow specifying if we're targetting webgl in the glsl version * Document multiview2 extension * fn embedded -> const fn embedded * Fix tests * Fix benches * Add snapshot tests * Revamp so that the glsl options have some multiview options. Also add tests * Make clippy happier * Go back to having is_webgl be part of Version * Use wgsl as input for tests * Rename Version::new_embedded to Version::new_gles, fix glsl validation * Run cargo fmt * Fix brand new clippy warnings
16 lines
204 B
Plaintext
16 lines
204 B
Plaintext
(
|
|
spv: (
|
|
version: (1, 0),
|
|
debug: true,
|
|
adjust_coordinate_space: true,
|
|
),
|
|
glsl: (
|
|
version: Embedded(
|
|
version: 300,
|
|
is_webgl: false
|
|
),
|
|
writer_flags: (bits: 0),
|
|
binding_map: {},
|
|
),
|
|
)
|