xash3d-fwgs/ref/vk/shaders/ray_primary_common.glsl

20 lines
356 B
GLSL

#ifndef RAY_PRIMARY_COMMON_GLSL_INCLUDED
#define RAY_PRIMARY_COMMON_GLSL_INCLUDED
#define GLSL
#include "ray_interop.h"
#undef GLSL
struct RayPayloadPrimary {
vec4 hit_t;
vec4 prev_pos_t;
vec4 base_color_a;
vec4 normals_gs;
vec4 material_rmxx;
vec4 emissive;
};
#define PAYLOAD_LOCATION_PRIMARY 0
#endif //ifndef RAY_PRIMARY_COMMON_GLSL_INCLUDED