Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Aug 21, 2023
1 parent 7a927a7 commit 7cdda76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/back/spv/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ impl<'w> BlockContext<'w> {

load_id
}
crate::TypeInner::ModfResult => {
crate::TypeInner::FrexpResult | crate::TypeInner::ModfResult => {
let id = self.gen_id();
let base_id = self.cached[base];
block.body.push(Instruction::composite_extract(
Expand Down Expand Up @@ -799,7 +799,7 @@ impl<'w> BlockContext<'w> {
Mf::Fract => MathOp::Ext(spirv::GLOp::Fract),
Mf::Trunc => MathOp::Ext(spirv::GLOp::Trunc),
Mf::Modf => MathOp::Ext(spirv::GLOp::ModfStruct),
Mf::Frexp => MathOp::Ext(spirv::GLOp::Frexp),
Mf::Frexp => MathOp::Ext(spirv::GLOp::FrexpStruct),
Mf::Ldexp => MathOp::Ext(spirv::GLOp::Ldexp),
// geometry
Mf::Dot => match *self.fun_info[arg].ty.inner_with(&self.ir_module.types) {
Expand Down

0 comments on commit 7cdda76

Please sign in to comment.