Refactoring

This commit is contained in:
mklefrancois 2021-09-07 09:42:21 +02:00
parent 3e399adf0a
commit d90ce79135
222 changed files with 9045 additions and 5734 deletions

View file

@ -23,14 +23,12 @@
#include "raycommon.glsl"
// clang-format off
layout(location = 0) rayPayloadInEXT hitPayload prd;
layout(shaderRecordEXT) buffer sr_
{
vec4 c;
}
shaderRec;
layout(shaderRecordEXT) buffer sr_ { vec4 shaderRec; };
// clang-format on
void main()
{
prd.hitValue = shaderRec.c.rgb;
prd.hitValue = shaderRec.rgb;
}