fix linux build
This commit is contained in:
parent
4cfe76dc40
commit
c949b7f214
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue