early-access version 3053
This commit is contained in:
parent
3dfc19dfb1
commit
9677f1e522
3 changed files with 15 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3050.
|
This is the source code for early-access 3053.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ public:
|
||||||
|
|
||||||
[[nodiscard]] unsigned Count() const noexcept {
|
[[nodiscard]] unsigned Count() const noexcept {
|
||||||
unsigned count = 0;
|
unsigned count = 0;
|
||||||
for (const auto [index, value] : page_table) {
|
for (const auto& [index, value] : page_table) {
|
||||||
count += value;
|
count += value;
|
||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
|
|
|
@ -303,14 +303,19 @@ void RasterizerVulkan::Clear() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scheduler.Record([color_attachment, clear_value, clear_rect](vk::CommandBuffer cmdbuf) {
|
if (regs.clear_surface.R && regs.clear_surface.G && regs.clear_surface.B &&
|
||||||
const VkClearAttachment attachment{
|
regs.clear_surface.A) {
|
||||||
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
scheduler.Record([color_attachment, clear_value, clear_rect](vk::CommandBuffer cmdbuf) {
|
||||||
.colorAttachment = color_attachment,
|
const VkClearAttachment attachment{
|
||||||
.clearValue = clear_value,
|
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
||||||
};
|
.colorAttachment = color_attachment,
|
||||||
cmdbuf.ClearAttachments(attachment, clear_rect);
|
.clearValue = clear_value,
|
||||||
});
|
};
|
||||||
|
cmdbuf.ClearAttachments(attachment, clear_rect);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
UNIMPLEMENTED_MSG("Unimplemented Clear only the specified channel");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!use_depth && !use_stencil) {
|
if (!use_depth && !use_stencil) {
|
||||||
|
|
Loading…
Reference in a new issue