mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 15:00:47 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user