[rpcsx-gpu] Implemented swapchain

This commit is contained in:
DH 2023-06-25 16:54:49 +03:00
parent 2ab5cfb1f3
commit 1e733facaa
8 changed files with 698 additions and 490 deletions

View file

@ -159,10 +159,10 @@ static std::int64_t dce_instance_ioctl(IoDeviceInstance *instance,
// TODO: lock bridge header
rx::bridge.header->buffers[args->index] = {
.bufferIndex = static_cast<uint32_t>(args->index),
.width = dceInstance->bufferAttributes.width,
.height = dceInstance->bufferAttributes.height,
.pitch = dceInstance->bufferAttributes.pitch,
.address = args->address,
.pixelFormat = dceInstance->bufferAttributes.pixelFormat,
.tilingMode = dceInstance->bufferAttributes.tilingMode
};