[GPU] Use le<> type for depth sample counts

This commit is contained in:
Joel Linn
2021-05-20 22:21:41 +02:00
committed by Rick Gibbed
parent e58686c9df
commit 806a33d625
2 changed files with 9 additions and 8 deletions

View File

@@ -1145,6 +1145,7 @@ bool CommandProcessor::ExecutePacketType3_EVENT_WRITE_EXT(RingBuffer* reader,
bool CommandProcessor::ExecutePacketType3_EVENT_WRITE_ZPD(RingBuffer* reader,
uint32_t packet,
uint32_t count) {
// Set by D3D as BE but struct ABI is LE
const uint32_t kQueryFinished = xe::byte_swap(0xFFFFFEED);
assert_true(count == 1);
uint32_t initiator = reader->ReadAndSwap<uint32_t>();