This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
wgpu
Watch
2
Star
0
Fork
0
You've already forked wgpu
mirror of
https://github.com/gfx-rs/wgpu.git
synced
2024-11-29 02:03:35 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4e6f873da5
wgpu
/
naga
/
tests
/
in
/
multiview.wgsl
3 lines
59 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
validate vertex stage returns the position built-in
2023-04-12 14:48:57 +00:00
@
fragment
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 16:58:47 +00:00
fn
main
(
@
builtin
(
view_index
)
view_index
:
i32
)
{
}
Reference in New Issue
Copy Permalink