mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 15:19:58 +00:00
vk_rasterizer: Remove unused variable in Clear()
The relevant values are already assigned further down in the lambda, so this can be removed entirely.
This commit is contained in:
parent
ad0b295125
commit
4b369126c4
1 changed files with 0 additions and 4 deletions
|
@ -532,10 +532,6 @@ void RasterizerVulkan::Clear() {
|
||||||
|
|
||||||
scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil,
|
scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil,
|
||||||
clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) {
|
clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) {
|
||||||
VkClearValue clear_value;
|
|
||||||
clear_value.depthStencil.depth = clear_depth;
|
|
||||||
clear_value.depthStencil.stencil = clear_stencil;
|
|
||||||
|
|
||||||
VkClearAttachment attachment;
|
VkClearAttachment attachment;
|
||||||
attachment.aspectMask = aspect_flags;
|
attachment.aspectMask = aspect_flags;
|
||||||
attachment.colorAttachment = 0;
|
attachment.colorAttachment = 0;
|
||||||
|
|
Loading…
Reference in a new issue