Browse Source
Merge pull request #4393 from lioncash/unused5
vk_rasterizer: Remove unused variable in Clear()
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
4 deletions
-
src/video_core/renderer_vulkan/vk_rasterizer.cpp
|
|
|
@ -532,10 +532,6 @@ void RasterizerVulkan::Clear() { |
|
|
|
|
|
|
|
scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil, |
|
|
|
clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) { |
|
|
|
VkClearValue clear_value; |
|
|
|
clear_value.depthStencil.depth = clear_depth; |
|
|
|
clear_value.depthStencil.stencil = clear_stencil; |
|
|
|
|
|
|
|
VkClearAttachment attachment; |
|
|
|
attachment.aspectMask = aspect_flags; |
|
|
|
attachment.colorAttachment = 0; |
|
|
|
|