mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-28 14:16:57 +00:00
Merge pull request #4393 from lioncash/unused5
vk_rasterizer: Remove unused variable in Clear()
This commit is contained in:
commit
dc2d31b1b2
|
@ -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