12 lines
175 B
Text
12 lines
175 B
Text
|
|
// 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);
|
||
|
|
}
|