fix linux build

This commit is contained in:
Ivan Avdeev 2021-11-07 13:19:56 -08:00 committed by Ivan Avdeev
parent 4cfe76dc40
commit c949b7f214
2 changed files with 2 additions and 2 deletions

View File

@ -16,6 +16,7 @@
#include "vk_descriptor.h"
#include "vk_light.h"
#include "vk_nv_aftermath.h"
#include "vk_denoiser.h"
#include "xash3d_types.h"
#include "cvardef.h"

View File

@ -925,8 +925,6 @@ void VK_RayFrameEnd(const vk_ray_frame_render_args_t* args)
updateLights();
if (g_ray_model_state.frame.num_models == 0) {
clearVkImage( cmdbuf, current_frame->denoised.image );
const xvk_blit_args blit_args = {
.cmdbuf = args->cmdbuf,
.in_stage = VK_PIPELINE_STAGE_TRANSFER_BIT,
@ -946,6 +944,7 @@ void VK_RayFrameEnd(const vk_ray_frame_render_args_t* args)
},
};
clearVkImage( cmdbuf, current_frame->denoised.image );
blitImage( &blit_args );
} else {
prepareTlas(cmdbuf);