mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-10-30 14:01:39 +00:00
[spv] support GLSL's Distance
This commit is contained in:
parent
5e77653c55
commit
4d4e1cd4cb
@ -1283,6 +1283,10 @@ impl<I: Iterator<Item = u32>> Parser<I> {
|
|||||||
inst.expect(base_wc + 1)?;
|
inst.expect(base_wc + 1)?;
|
||||||
"length"
|
"length"
|
||||||
}
|
}
|
||||||
|
Some(spirv::GLOp::Distance) => {
|
||||||
|
inst.expect(base_wc + 2)?;
|
||||||
|
"distance"
|
||||||
|
}
|
||||||
Some(spirv::GLOp::Cross) => {
|
Some(spirv::GLOp::Cross) => {
|
||||||
inst.expect(base_wc + 2)?;
|
inst.expect(base_wc + 2)?;
|
||||||
"cross"
|
"cross"
|
||||||
|
Loading…
Reference in New Issue
Block a user