This commit is contained in:
Dr. Chat 2016-02-21 17:59:59 -06:00
parent cbac9b2f4e
commit 0680e451bc
1 changed files with 6 additions and 0 deletions

View File

@ -900,6 +900,12 @@ void SpirvShaderTranslator::ProcessScalarAluInstruction(
{sources[0]});
} break;
case AluScalarOpcode::kExp: {
dest = CreateGlslStd450InstructionCall(
spv::Decoration::DecorationInvariant, float_type_, GLSLstd450::kExp2,
{sources[0]});
} break;
case AluScalarOpcode::kKillsEq: {
auto continue_block = &b.makeNewBlock();
auto kill_block = &b.makeNewBlock();