shader_ir: Remove Ipa primitive

This commit is contained in:
ReinUsesLisp 2018-12-26 02:17:56 -03:00
parent d6b173d5fe
commit 52223313b1
3 changed files with 2 additions and 13 deletions

View file

@ -1204,12 +1204,6 @@ private:
return expr;
}
std::string Ipa(Operation operation) {
const auto& attribute = operation[0];
// TODO(Rodrigo): Special IPA attribute interactions
return Visit(attribute);
}
std::string Bra(Operation operation) {
const auto target = std::get<ImmediateNode>(*operation[0]);
code.AddLine(fmt::format("jmp_to = 0x{:x}u;", target.GetValue()));
@ -1448,8 +1442,6 @@ private:
&GLSLDecompiler::F4TextureQueryLod,
&GLSLDecompiler::F4TexelFetch,
&GLSLDecompiler::Ipa,
&GLSLDecompiler::Bra,
&GLSLDecompiler::PushFlowStack, // Ssy
&GLSLDecompiler::PushFlowStack, // Brk