Merge pull request #626 from Subv/shader_sync

GPU: Stub the shader SYNC and DEPBAR instructions.
This commit is contained in:
bunnei
2018-07-05 12:54:19 -04:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@ -1632,6 +1632,13 @@ private:
// can ignore this when generating GLSL code.
break;
}
case OpCode::Id::DEPBAR:
case OpCode::Id::SYNC: {
// TODO(Subv): Find out if we actually have to care about these instructions or if
// the GLSL compiler takes care of that for us.
LOG_WARNING(HW_GPU, "DEPBAR/SYNC instruction is stubbed");
break;
}
default: {
LOG_CRITICAL(HW_GPU, "Unhandled instruction: {}", opcode->GetName());
UNREACHABLE();