mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
vk: Warnings cleanup
This commit is contained in:
parent
a7b9ff33d8
commit
756fdedbf6
3 changed files with 11 additions and 4 deletions
|
@ -763,6 +763,8 @@ void VKGSRender::notify_tile_unbound(u32 tile)
|
|||
|
||||
void VKGSRender::check_heap_status(u32 flags)
|
||||
{
|
||||
verify(HERE), flags;
|
||||
|
||||
bool heap_critical;
|
||||
if (flags == VK_HEAP_CHECK_ALL)
|
||||
{
|
||||
|
@ -2563,9 +2565,9 @@ bool VKGSRender::load_program()
|
|||
if (properties.state.ds.front.failOp != VK_STENCIL_OP_KEEP ||
|
||||
properties.state.ds.front.depthFailOp != VK_STENCIL_OP_KEEP ||
|
||||
properties.state.ds.front.passOp != VK_STENCIL_OP_KEEP ||
|
||||
properties.state.ds.front.failOp != VK_STENCIL_OP_KEEP ||
|
||||
properties.state.ds.front.depthFailOp != VK_STENCIL_OP_KEEP ||
|
||||
properties.state.ds.front.passOp != VK_STENCIL_OP_KEEP)
|
||||
properties.state.ds.back.failOp != VK_STENCIL_OP_KEEP ||
|
||||
properties.state.ds.back.depthFailOp != VK_STENCIL_OP_KEEP ||
|
||||
properties.state.ds.back.passOp != VK_STENCIL_OP_KEEP)
|
||||
{
|
||||
// Toggle bit 9 to signal require full bit-wise transfer
|
||||
ds->stencil_init_flags |= (1 << 8);
|
||||
|
|
|
@ -1855,7 +1855,12 @@ public:
|
|||
swapchain_images.clear();
|
||||
|
||||
if (full)
|
||||
{
|
||||
ReleaseDC(window_handle, hDstDC);
|
||||
hDstDC = NULL;
|
||||
|
||||
dev.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
VkResult present(VkSemaphore /*semaphore*/, u32 image) override
|
||||
|
|
|
@ -445,7 +445,7 @@ namespace vk
|
|||
color4f m_color;
|
||||
bool m_pulse_glow = false;
|
||||
bool m_skip_texture_read = false;
|
||||
bool m_clip_enabled;
|
||||
bool m_clip_enabled = false;
|
||||
int m_texture_type;
|
||||
areaf m_clip_region;
|
||||
size2f m_viewport_size;
|
||||
|
|
Loading…
Add table
Reference in a new issue