aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-04-01 22:20:57 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:25 -0400
commitecb30c907266921818d5b6b03e341028fa2ea082 (patch)
tree8bf3f0097653fa11b6dae823f79fe671204ad55e /src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp
parent12f5f320985824d1ebad587ebecb0f8406143ebc (diff)
shader: Improve VOTE.VTG stub
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp
index 391520a186..2acabb6629 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp
@@ -50,7 +50,10 @@ void TranslatorVisitor::VOTE(u64 insn) {
}
void TranslatorVisitor::VOTE_vtg(u64) {
- // Stub
+ // LOG_WARNING("VOTE.VTG: Stubbed!");
+ auto imm = ir.Imm1(false);
+ ir.SetFCSMFlag(imm);
+ ir.SetTRFlag(imm);
}
} // namespace Shader::Maxwell