[GPU] PM4_EVENT_WRITE_EXT destination is /not/ aligned (to 16 bytes)

This commit is contained in:
Dr. Chat 2018-04-29 18:26:36 -05:00
parent ef3577e45c
commit 87bfad1f74
1 changed files with 2 additions and 2 deletions

View File

@ -1051,8 +1051,8 @@ bool CommandProcessor::ExecutePacketType3_EVENT_WRITE_EXT(RingBuffer* reader,
1, // max z 1, // max z
}; };
assert_true(endianness == Endian::k8in16); assert_true(endianness == Endian::k8in16);
xe::copy_and_swap_16_aligned(memory_->TranslatePhysical(address), extents, xe::copy_and_swap_16_unaligned(memory_->TranslatePhysical(address), extents,
xe::countof(extents)); xe::countof(extents));
trace_writer_.WriteMemoryWrite(CpuToGpu(address), sizeof(extents)); trace_writer_.WriteMemoryWrite(CpuToGpu(address), sizeof(extents));
return true; return true;
} }