RD DXIL Disassembly use DxOp enum values instead of string comparison

Added "dxOpFunctionNames" array to assert that the function name is as expected
This commit is contained in:
Jake Turner
2024-05-14 18:26:28 +01:00
parent 2e2e09097c
commit d176e98fd5
3 changed files with 852 additions and 613 deletions
@@ -570,6 +570,7 @@ enum class DXOp : uint32_t
SampleCmpBias = 255,
StartVertexLocation = 256,
StartInstanceLocation = 257,
NumOpCodes = 258,
};
enum class AtomicBinOpCode : uint32_t
File diff suppressed because it is too large Load Diff
@@ -2033,6 +2033,7 @@ rdcstr DoStringise(const DXIL::DXOp &el)
STRINGISE_ENUM_CLASS(SampleCmpBias);
STRINGISE_ENUM_CLASS(StartVertexLocation);
STRINGISE_ENUM_CLASS(StartInstanceLocation);
STRINGISE_ENUM_CLASS(NumOpCodes);
}
END_ENUM_STRINGISE();
}