summaryrefslogtreecommitdiffstats
path: root/tests/vkray/miss.slang
blob: ce946662cb6b4abe5ff0845f4a955c1991fc1f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
//TEST:CROSS_COMPILE: -profile glsl_460+GL_EXT_ray_tracing -stage miss -entry main -target spirv-assembly

struct ShadowRay
{
    float hitDistance;
};

void main(in out ShadowRay ray)
{
	ray.hitDistance = 10000.0f;
}