Callables shouldn't have incoming ray flags

This commit is contained in:
Eric Werness
2019-03-25 09:53:52 -07:00
parent 5efb004d59
commit 659060b90a
5 changed files with 32 additions and 45 deletions

View File

@@ -8,8 +8,6 @@ void main()
{
uvec3 id = gl_LaunchIDNV;
uvec3 size = gl_LaunchSizeNV;
uint curFlags = gl_IncomingRayFlagsNV;
curFlags = curFlags & gl_RayFlagsOpaqueNV;
data1 = 256U;
executeCallableNV(2,1);
}