Code cleanup
Comments
This commit is contained in:
parent
ac957ef8af
commit
165e20db9e
7 changed files with 16 additions and 13 deletions
|
|
@ -670,8 +670,6 @@ public:
|
|||
void updateComputeUBO()
|
||||
{
|
||||
if (!paused) {
|
||||
//compute.ubo.deltaT = 0.000005f;
|
||||
// todo: base on frametime
|
||||
// SRS - Clamp frameTimer to max 20ms refresh period (e.g. if blocked on resize), otherwise image breakup can occur
|
||||
compute.ubo.deltaT = fmin(frameTimer, 0.02f) * 0.0025f;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
/*
|
||||
* Vulkan Example - Order Independent Transparency rendering
|
||||
*
|
||||
* Note: Requires the separate asset pack (see data/README.md)
|
||||
*
|
||||
* Copyright by Sascha Willems - www.saschawillems.de
|
||||
* Copyright by Daemyung Jang - dm86.jang@gmail.com
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
/*
|
||||
* Vulkan Example - Physical based rendering with image based lighting
|
||||
*
|
||||
* Note: Requires the separate asset pack (see data/README.md)
|
||||
*
|
||||
* Copyright (C) 2016-2017 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
@ -548,7 +546,6 @@ public:
|
|||
|
||||
vkQueueWaitIdle(queue);
|
||||
|
||||
// todo: cleanup
|
||||
vkDestroyPipeline(device, pipeline, nullptr);
|
||||
vkDestroyPipelineLayout(device, pipelinelayout, nullptr);
|
||||
vkDestroyRenderPass(device, renderpass, nullptr);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
/*
|
||||
* Vulkan Example - Physical based rendering a textured object (metal/roughness workflow) with image based lighting
|
||||
*
|
||||
* Note: Requires the separate asset pack (see data/README.md)
|
||||
*
|
||||
* Copyright (C) 2016-2017 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue