Add PM4 opcodes

This commit is contained in:
Raven 2024-09-15 01:46:39 +08:00 committed by GitHub
parent febc1a9e17
commit 1879c9d12f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,7 @@ enum class PM4ItOpcode : u32 {
NumInstances = 0x2F, NumInstances = 0x2F,
DrawIndexMultiAuto = 0x30, DrawIndexMultiAuto = 0x30,
IndirectBufferConst = 0x33, IndirectBufferConst = 0x33,
StrmoutBufferUpdate = 0x34,
DrawIndexOffset2 = 0x35, DrawIndexOffset2 = 0x35,
WriteData = 0x37, WriteData = 0x37,
DrawIndexIndirectMulti = 0x38, DrawIndexIndirectMulti = 0x38,
@ -52,6 +53,7 @@ enum class PM4ItOpcode : u32 {
DmaData = 0x50, DmaData = 0x50,
ContextRegRmw = 0x51, ContextRegRmw = 0x51,
AcquireMem = 0x58, AcquireMem = 0x58,
Rewind = 0x59,
LoadShReg = 0x5F, LoadShReg = 0x5F,
LoadConfigReg = 0x60, LoadConfigReg = 0x60,
LoadContextReg = 0x61, LoadContextReg = 0x61,
@ -60,7 +62,9 @@ enum class PM4ItOpcode : u32 {
SetContextRegIndirect = 0x73, SetContextRegIndirect = 0x73,
SetShReg = 0x76, SetShReg = 0x76,
SetShRegOffset = 0x77, SetShRegOffset = 0x77,
SetQueueReg = 0x78,
SetUconfigReg = 0x79, SetUconfigReg = 0x79,
LoadConstRam = 0x80,
WriteConstRam = 0x81, WriteConstRam = 0x81,
DumpConstRam = 0x83, DumpConstRam = 0x83,
IncrementCeCounter = 0x84, IncrementCeCounter = 0x84,