summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/slang/hlsl.meta.slang3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang
index 0dbca2479..23afb3297 100644
--- a/source/slang/hlsl.meta.slang
+++ b/source/slang/hlsl.meta.slang
@@ -21075,8 +21075,7 @@ struct HitObject
/// Loads a root constant from the local root table referenced by the hit object. Valid if the hit object
/// represents a hit or a miss. RootConstantOffsetInBytes must be a multiple of 4.
[__requiresNVAPI]
- [require(hlsl, ser)]
- [require(cuda, ser)]
+ [require(cuda_hlsl, ser_raygen_closesthit_miss)]
uint LoadLocalRootTableConstant(uint RootConstantOffsetInBytes)
{
__target_switch