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 committed 2024-05-15 07:08:20 +01:00
1 parent 2e2e09097c
commit d176e98fd5
3 files changed
+852 -613

No files matched your search

@@ -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();
}