mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 00:39:53 +00:00
formatting: Unify indentation type in the newly added files to tabs
This commit is contained in:
parent
bad4d1ff05
commit
48407752a6
@ -38,8 +38,8 @@ GLuint GLGSRender::get_present_source(gl::present_surface_info* info, const rsx:
|
||||
}
|
||||
else if (auto surface = m_gl_texture_cache.find_texture_from_dimensions<true>(info->address, info->format, info->width, info->height))
|
||||
{
|
||||
//Hack - this should be the first location to check for output
|
||||
//The render might have been done offscreen or in software and a blit used to display
|
||||
// Hack - this should be the first location to check for output
|
||||
// The render might have been done offscreen or in software and a blit used to display
|
||||
if (const auto tex = surface->get_raw_texture(); tex) image = tex->id();
|
||||
}
|
||||
|
||||
|
@ -57,10 +57,10 @@ void VKGSRender::reinitialize_swapchain()
|
||||
vk::change_image_layout(*m_current_command_buffer, target_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, target_layout, range);
|
||||
}
|
||||
|
||||
//Will have to block until rendering is completed
|
||||
// Will have to block until rendering is completed
|
||||
vk::fence resize_fence(*m_device);
|
||||
|
||||
//Flush the command buffer
|
||||
// Flush the command buffer
|
||||
close_and_submit_command_buffer(&resize_fence);
|
||||
vk::wait_for_fence(&resize_fence);
|
||||
|
||||
@ -104,10 +104,10 @@ void VKGSRender::advance_queued_frames()
|
||||
// Check all other frames for completion and clear resources
|
||||
check_present_status();
|
||||
|
||||
//m_rtts storage is double buffered and should be safe to tag on frame boundary
|
||||
// m_rtts storage is double buffered and should be safe to tag on frame boundary
|
||||
m_rtts.free_invalidated();
|
||||
|
||||
//texture cache is also double buffered to prevent use-after-free
|
||||
// Texture cache is also double buffered to prevent use-after-free
|
||||
m_texture_cache.on_frame_end();
|
||||
m_samplers_dirty.store(true);
|
||||
|
||||
@ -221,7 +221,7 @@ void VKGSRender::frame_context_cleanup(vk::frame_context_t *ctx, bool free_resou
|
||||
{
|
||||
m_last_heap_sync_time = ctx->last_frame_sync_time;
|
||||
|
||||
//Heap cleanup; deallocates memory consumed by the frame if it is still held
|
||||
// Heap cleanup; deallocates memory consumed by the frame if it is still held
|
||||
m_attrib_ring_info.m_get_pos = ctx->attrib_heap_ptr;
|
||||
m_vertex_env_ring_info.m_get_pos = ctx->vtx_env_heap_ptr;
|
||||
m_fragment_env_ring_info.m_get_pos = ctx->frag_env_heap_ptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user