Fixed HLSL shaders (mostly ray tracing related)
Updated HLSL compile script
This commit is contained in:
parent
cb836dd6d0
commit
66dce3c991
14 changed files with 53 additions and 28 deletions
|
|
@ -1,7 +1,13 @@
|
|||
// Copyright 2020 Google LLC
|
||||
|
||||
[shader("miss")]
|
||||
void main([[vk::location(2)]] in bool shadowed)
|
||||
struct Payload
|
||||
{
|
||||
shadowed = false;
|
||||
[[vk::location(0)]] float3 hitValue;
|
||||
[[vk::location(1)]] bool shadowed;
|
||||
};
|
||||
|
||||
[shader("miss")]
|
||||
void main(inout Payload payload)
|
||||
{
|
||||
payload.shadowed = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue