mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
[spv] support GLSL's Distance
This commit is contained in:
1 parent
5e77653c55
commit
4d4e1cd4cb
1 file changed
+4
@@ -1283,6 +1283,10 @@ impl<I: Iterator<Item = u32>> Parser<I> {
|
||||
inst.expect(base_wc + 1)?;
|
||||
"length"
|
||||
}
|
||||
Some(spirv::GLOp::Distance) => {
|
||||
inst.expect(base_wc + 2)?;
|
||||
"distance"
|
||||
}
|
||||
Some(spirv::GLOp::Cross) => {
|
||||
inst.expect(base_wc + 2)?;
|
||||
"cross"
|
||||
|
||||
Reference in new issue
Block a user