These were written against the shaders at revision eddd724e7.
There have been changes made since then, which will need to be mirrored.
See `data/hlsl/README.md` for the current status of each sample.
12 lines
No EOL
175 B
GLSL
12 lines
No EOL
175 B
GLSL
// Copyright 2020 Google LLC
|
|
|
|
struct Payload
|
|
{
|
|
[[vk::location(0)]] float3 hitValue;
|
|
};
|
|
|
|
[shader("miss")]
|
|
void main(inout Payload p)
|
|
{
|
|
p.hitValue = float3(0.0, 0.0, 0.2);
|
|
} |