From acfa58ea8ce7d55f5e7097c755fe35f3febf1bcf Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Fri, 23 Sep 2022 22:12:26 +0100 Subject: [PATCH] State uopdater MERGEBACK desC --- .../skyline/gpu/interconnect/maxwell_3d/state_updater.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/state_updater.h b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/state_updater.h index 3152543a..fee34110 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/state_updater.h +++ b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/state_updater.h @@ -56,7 +56,7 @@ namespace skyline::gpu::interconnect::maxwell3d { base.offsets[i] = views[i].GetOffset(); } - base.Record(commandBuffer); + base.Record(gpu, commandBuffer); } SetVertexBuffersCmdImpl base{}; @@ -79,7 +79,7 @@ namespace skyline::gpu::interconnect::maxwell3d { void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) { base.buffer = view.GetBuffer()->GetBacking(); base.offset = view.GetOffset(); - base.Record(commandBuffer); + base.Record(gpu, commandBuffer); } SetIndexBufferCmdImpl base; @@ -103,7 +103,7 @@ namespace skyline::gpu::interconnect::maxwell3d { void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) { base.buffer = view.GetBuffer()->GetBacking(); base.offset = view.GetOffset(); - base.Record(commandBuffer); + base.Record(gpu, commandBuffer); } SetTransformFeedbackBufferCmdImpl base; @@ -221,7 +221,7 @@ namespace skyline::gpu::interconnect::maxwell3d { gpu.vkDevice.updateDescriptorSets(updateInfo->writes, {}); // Bind the updated descriptor set and we're done! - commandBuffer.bindDescriptorSets(updateInfo->bindPoint, updateInfo->pipelineLayout, updateInfo->descriptorSetIndex, **dstSet, 0); + commandBuffer.bindDescriptorSets(updateInfo->bindPoint, updateInfo->pipelineLayout, updateInfo->descriptorSetIndex, **dstSet, {}); } DescriptorUpdateInfo *updateInfo;