Fix closest hit and miss shaders not working

This commit is contained in:
Magnus Norddahl 2021-11-04 20:24:38 +01:00
parent ef4b67ea04
commit 178c918af6

View file

@ -689,7 +689,7 @@ void GPURaytracer::CreateShaders()
vec3 hitValue; vec3 hitValue;
}; };
layout(location = 0) rayPayloadEXT hitPayload payload; layout(location = 0) rayPayloadInEXT hitPayload payload;
void main() void main()
{ {
@ -713,7 +713,7 @@ void GPURaytracer::CreateShaders()
vec3 hitValue; vec3 hitValue;
}; };
layout(location = 0) rayPayloadEXT hitPayload payload; layout(location = 0) rayPayloadInEXT hitPayload payload;
void main() void main()
{ {