Skip to content

Commit

Permalink
RD DXIL Disassembly: fix typo " = " should be " == "
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorro666 committed May 6, 2024
1 parent a8cd40c commit 61011d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions renderdoc/driver/shaders/dxil/dxil_disassemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3445,13 +3445,13 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
rdcstr opStr;
switch(inst.op)
{
case Operation::FOrdEqual: opStr = " = "; break;
case Operation::FOrdEqual: opStr = " == "; break;
case Operation::FOrdGreater: opStr = " > "; break;
case Operation::FOrdGreaterEqual: opStr = " >= "; break;
case Operation::FOrdLess: opStr = " < "; break;
case Operation::FOrdLessEqual: opStr = " <= "; break;
case Operation::FOrdNotEqual: opStr = " != "; break;
case Operation::FUnordEqual: opStr = " = ";
case Operation::FUnordEqual: opStr = " == ";
case Operation::FUnordGreater: opStr = " > "; break;
case Operation::FUnordGreaterEqual: opStr = " >= "; break;
case Operation::FUnordLess: opStr = " < "; break;
Expand Down Expand Up @@ -3516,7 +3516,7 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
rdcstr opStr;
switch(inst.op)
{
case Operation::IEqual: opStr += " = "; break;
case Operation::IEqual: opStr += " == "; break;
case Operation::INotEqual: opStr += " != "; break;
case Operation::UGreater: opStr += " > "; break;
case Operation::UGreaterEqual: opStr += " >= "; break;
Expand Down

0 comments on commit 61011d1

Please sign in to comment.