From b7d19330c2d42937835d674758a05af3891e025b Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 31 Aug 2023 15:02:16 -0700 Subject: Inline all RayQuery/HitObject typed functions when targeting GLSL. (#3172) * Inline all RayQuery/HitObject typed functions when targeting GLSL. * update test. --------- Co-authored-by: Yong He --- tests/bugs/ray-query-in-generic.slang | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/bugs') diff --git a/tests/bugs/ray-query-in-generic.slang b/tests/bugs/ray-query-in-generic.slang index fdbafe8fc..3de92b775 100644 --- a/tests/bugs/ray-query-in-generic.slang +++ b/tests/bugs/ray-query-in-generic.slang @@ -38,8 +38,6 @@ struct Ray RaytracingAccelerationStructure sceneBVH; -// TODO: remove force inline here will result in an error. -[ForceInline] bool traceSceneVisibilityRayImpl(const bool useAlphaTest, inout RayQuery q, const Ray ray, uint rayFlags, uint instanceInclusionMask) { var rayDesc = ray.toRayDesc(); -- cgit v1.2.3