Exp2
This commit is contained in:
parent
cbac9b2f4e
commit
0680e451bc
|
@ -900,6 +900,12 @@ void SpirvShaderTranslator::ProcessScalarAluInstruction(
|
||||||
{sources[0]});
|
{sources[0]});
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
case AluScalarOpcode::kExp: {
|
||||||
|
dest = CreateGlslStd450InstructionCall(
|
||||||
|
spv::Decoration::DecorationInvariant, float_type_, GLSLstd450::kExp2,
|
||||||
|
{sources[0]});
|
||||||
|
} break;
|
||||||
|
|
||||||
case AluScalarOpcode::kKillsEq: {
|
case AluScalarOpcode::kKillsEq: {
|
||||||
auto continue_block = &b.makeNewBlock();
|
auto continue_block = &b.makeNewBlock();
|
||||||
auto kill_block = &b.makeNewBlock();
|
auto kill_block = &b.makeNewBlock();
|
||||||
|
|
Loading…
Reference in New Issue