Stub for screen extent write event.
This commit is contained in:
parent
6437bbec96
commit
2bc951cd1e
|
@ -686,6 +686,10 @@ bool CommandProcessor::ExecutePacketType3(RingbufferReader* reader,
|
|||
result =
|
||||
ExecutePacketType3_EVENT_WRITE_SHD(reader, packet_ptr, packet, count);
|
||||
break;
|
||||
case PM4_EVENT_WRITE_EXT:
|
||||
result =
|
||||
ExecutePacketType3_EVENT_WRITE_EXT(reader, packet_ptr, packet, count);
|
||||
break;
|
||||
case PM4_DRAW_INDX:
|
||||
result = ExecutePacketType3_DRAW_INDX(reader, packet_ptr, packet, count);
|
||||
break;
|
||||
|
@ -1096,6 +1100,17 @@ bool CommandProcessor::ExecutePacketType3_EVENT_WRITE_SHD(
|
|||
return true;
|
||||
}
|
||||
|
||||
bool CommandProcessor::ExecutePacketType3_EVENT_WRITE_EXT(
|
||||
RingbufferReader* reader, uint32_t packet_ptr, uint32_t packet,
|
||||
uint32_t count) {
|
||||
// generate a screen extent event
|
||||
XETRACECP("[%.8X] Packet(%.8X): PM4_EVENT_WRITE_EXT", packet_ptr, packet);
|
||||
reader->TraceData(count);
|
||||
uint32_t unk0 = reader->Read();
|
||||
uint32_t unk1 = reader->Read();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CommandProcessor::ExecutePacketType3_DRAW_INDX(RingbufferReader* reader,
|
||||
uint32_t packet_ptr,
|
||||
uint32_t packet,
|
||||
|
|
|
@ -151,6 +151,9 @@ class CommandProcessor {
|
|||
bool ExecutePacketType3_EVENT_WRITE_SHD(RingbufferReader* reader,
|
||||
uint32_t packet_ptr, uint32_t packet,
|
||||
uint32_t count);
|
||||
bool ExecutePacketType3_EVENT_WRITE_EXT(RingbufferReader* reader,
|
||||
uint32_t packet_ptr, uint32_t packet,
|
||||
uint32_t count);
|
||||
bool ExecutePacketType3_DRAW_INDX(RingbufferReader* reader,
|
||||
uint32_t packet_ptr, uint32_t packet,
|
||||
uint32_t count);
|
||||
|
|
|
@ -398,6 +398,7 @@ enum Type3Opcode {
|
|||
PM4_EVENT_WRITE = 0x46, // generate an event that creates a write to memory when completed
|
||||
PM4_EVENT_WRITE_SHD = 0x58, // generate a VS|PS_done event
|
||||
PM4_EVENT_WRITE_CFL = 0x59, // generate a cache flush done event
|
||||
PM4_EVENT_WRITE_EXT = 0x5a, // generate a screen extent event
|
||||
PM4_EVENT_WRITE_ZPD = 0x5b, // generate a z_pass done event
|
||||
|
||||
PM4_DRAW_INDX = 0x22, // initiate fetch of index buffer and draw
|
||||
|
|
Loading…
Reference in New Issue