mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 16:25:10 +01:00
State uopdater MERGEBACK desC
This commit is contained in:
parent
68b6b20f78
commit
acfa58ea8c
@ -56,7 +56,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
base.offsets[i] = views[i].GetOffset();
|
base.offsets[i] = views[i].GetOffset();
|
||||||
}
|
}
|
||||||
|
|
||||||
base.Record(commandBuffer);
|
base.Record(gpu, commandBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetVertexBuffersCmdImpl base{};
|
SetVertexBuffersCmdImpl base{};
|
||||||
@ -79,7 +79,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) {
|
void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) {
|
||||||
base.buffer = view.GetBuffer()->GetBacking();
|
base.buffer = view.GetBuffer()->GetBacking();
|
||||||
base.offset = view.GetOffset();
|
base.offset = view.GetOffset();
|
||||||
base.Record(commandBuffer);
|
base.Record(gpu, commandBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetIndexBufferCmdImpl base;
|
SetIndexBufferCmdImpl base;
|
||||||
@ -103,7 +103,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) {
|
void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) {
|
||||||
base.buffer = view.GetBuffer()->GetBacking();
|
base.buffer = view.GetBuffer()->GetBacking();
|
||||||
base.offset = view.GetOffset();
|
base.offset = view.GetOffset();
|
||||||
base.Record(commandBuffer);
|
base.Record(gpu, commandBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetTransformFeedbackBufferCmdImpl base;
|
SetTransformFeedbackBufferCmdImpl base;
|
||||||
@ -221,7 +221,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
gpu.vkDevice.updateDescriptorSets(updateInfo->writes, {});
|
gpu.vkDevice.updateDescriptorSets(updateInfo->writes, {});
|
||||||
|
|
||||||
// Bind the updated descriptor set and we're done!
|
// 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;
|
DescriptorUpdateInfo *updateInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user