2022-10-15 23:26:58 +02:00
|
|
|
#pragma once
|
|
|
|
|
2022-10-22 22:04:00 +02:00
|
|
|
#include "ray_pass.h"
|
2022-10-15 23:26:58 +02:00
|
|
|
#include "xash3d_types.h"
|
|
|
|
|
|
|
|
typedef struct {
|
2022-10-22 22:04:00 +02:00
|
|
|
int passes_count;
|
|
|
|
ray_pass_p *passes;
|
2022-10-15 23:26:58 +02:00
|
|
|
} vk_meatpipe_t;
|
|
|
|
|
|
|
|
qboolean R_VkMeatpipeLoad(vk_meatpipe_t *out, const char *filename);
|
|
|
|
void R_VkMeatpipeDestroy(vk_meatpipe_t *mp);
|
2022-10-22 23:43:41 +02:00
|
|
|
|
|
|
|
struct vk_ray_resources_s;
|
|
|
|
void R_VkMeatpipePerform(vk_meatpipe_t *mp, VkCommandBuffer cmdbuf, int frame_set_slot, struct vk_ray_resources_s *res);
|