no expression type for OpSRem
fix issue#582
This commit is contained in:
parent
f1eacba244
commit
e792cd6160
@ -6664,6 +6664,10 @@ void CompilerGLSL::emit_instruction(const Instruction &instruction)
|
||||
UFOP(transpose);
|
||||
break;
|
||||
|
||||
case OpSRem:
|
||||
BOP_CAST(%, SPIRType::Int);
|
||||
break;
|
||||
|
||||
case OpSDiv:
|
||||
BOP_CAST(/, SPIRType::Int);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user