Files
wgpu/tests/in/skybox.param.ron
T
Ashley e2d688088a Support for the OVR_multiview2 WebGL extension (#1933)
* 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
2022-06-30 17:58:47 +01:00

61 lines
1.3 KiB
Plaintext

(
spv_flow_dump_prefix: "",
spv: (
version: (1, 0),
debug: false,
adjust_coordinate_space: false,
),
msl: (
lang_version: (2, 1),
per_stage_map: (
vs: (
resources: {
(group: 0, binding: 0): (buffer: Some(0)),
},
),
fs: (
resources: {
(group: 0, binding: 1): (texture: Some(0)),
(group: 0, binding: 2): (sampler: Some(Inline(0))),
},
),
),
inline_samplers: [
(
coord: Normalized,
address: (ClampToEdge, ClampToEdge, ClampToEdge),
mag_filter: Linear,
min_filter: Linear,
mip_filter: None,
border_color: TransparentBlack,
compare_func: Never,
lod_clamp: Some((start: 0.5, end: 10.0)),
max_anisotropy: Some(8),
),
],
spirv_cross_compatibility: false,
fake_missing_bindings: false,
),
glsl: (
version: Embedded(
version: 320,
is_webgl: false
),
writer_flags: (bits: 0),
binding_map: {
(group: 0, binding: 0): 0,
(group: 0, binding: 1): 0,
},
),
hlsl: (
shader_model: V5_1,
binding_map: {
(group: 0, binding: 0): (space: 0, register: 0),
(group: 0, binding: 1): (space: 0, register: 0),
(group: 0, binding: 2): (space: 1, register: 0),
},
fake_missing_bindings: false,
special_constants_binding: Some((space: 0, register: 1)),
),
)